From 7b9769ee469f70eadc316d5f2e7619788b9c2680 Mon Sep 17 00:00:00 2001 From: ElBread3 <92335081+ElBread3@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:47:15 -0500 Subject: [PATCH] use operator --- src/core/file_sys/fs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/file_sys/fs.cpp b/src/core/file_sys/fs.cpp index cabbcf8f5e..8e6d746225 100644 --- a/src/core/file_sys/fs.cpp +++ b/src/core/file_sys/fs.cpp @@ -56,7 +56,8 @@ std::filesystem::path MntPoints::GetHostPath(std::string_view guest_directory, b const auto rel_path = std::string_view(corrected_path).substr(pos); std::filesystem::path host_path = mount->host_path / rel_path; - std::filesystem::path patch_path = mount->host_path.string() + "-UPDATE"; + std::filesystem::path patch_path = mount->host_path; + patch_path += "-UPDATE"; if (corrected_path.starts_with("/app0/") && std::filesystem::exists(patch_path / rel_path)) { host_path = patch_path / rel_path; }