fs: Use proper append operator
This commit is contained in:
parent
0de914995f
commit
3b0a5aed33
|
@ -64,8 +64,8 @@ std::filesystem::path MntPoints::GetHostPath(const std::string& guest_directory)
|
|||
while (!path_parts.empty()) {
|
||||
const auto& part = path_parts.back();
|
||||
const auto add_match = [&](const auto& host_part) {
|
||||
current_path += host_part;
|
||||
guest_path += part;
|
||||
current_path /= host_part;
|
||||
guest_path /= part;
|
||||
path_cache[guest_path] = current_path;
|
||||
path_parts.pop_back();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue