summaryrefslogtreecommitdiff
path: root/src/buildtool/common/location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/location.cpp')
-rw-r--r--src/buildtool/common/location.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buildtool/common/location.cpp b/src/buildtool/common/location.cpp
index 597fc286..7f124566 100644
--- a/src/buildtool/common/location.cpp
+++ b/src/buildtool/common/location.cpp
@@ -48,8 +48,6 @@ auto ReadLocationObject(nlohmann::json const& location,
root_path = FileSystemManager::GetCurrentDirectory().root_path();
}
return std::optional<location_res_t>{
- std::make_pair(std::filesystem::weakly_canonical(
- std::filesystem::absolute(root_path / path)),
- std::filesystem::weakly_canonical(
- std::filesystem::absolute(root_path / base)))};
+ std::make_pair(std::filesystem::weakly_canonical(root_path / path),
+ std::filesystem::weakly_canonical(root_path / base))};
}