summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/file_storage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/file_system/file_storage.hpp')
-rw-r--r--src/buildtool/file_system/file_storage.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/file_system/file_storage.hpp b/src/buildtool/file_system/file_storage.hpp
index 6006a410..178fa7da 100644
--- a/src/buildtool/file_system/file_storage.hpp
+++ b/src/buildtool/file_system/file_storage.hpp
@@ -74,7 +74,8 @@ class FileStorage {
return storage_root_ / id.substr(0, 2) / id.substr(2, id.size() - 2);
}
- [[nodiscard]] auto StorageRoot() const noexcept -> std::filesystem::path {
+ [[nodiscard]] auto StorageRoot() const noexcept
+ -> std::filesystem::path const& {
return storage_root_;
}