[VFS] Make ResolvePath argument a const reference.

This commit is contained in:
gibbed
2019-07-29 16:04:25 -05:00
parent 7c7d80103e
commit e72cacc986
7 changed files with 7 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ void HostPathDevice::Dump(StringBuffer* string_buffer) {
root_entry_->Dump(string_buffer, 0);
}
Entry* HostPathDevice::ResolvePath(std::string path) {
Entry* HostPathDevice::ResolvePath(const std::string& path) {
// The filesystem will have stripped our prefix off already, so the path will
// be in the form:
// some\PATH.foo