From 8c73c618d777a07c017ec0deefe88db83652827e Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 17 Jun 2024 15:11:36 +0200 Subject: Move functionality from StorageConfig to related classes. --- src/buildtool/common/location.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/buildtool/common/location.cpp') diff --git a/src/buildtool/common/location.cpp b/src/buildtool/common/location.cpp index a266069d..597fc286 100644 --- a/src/buildtool/common/location.cpp +++ b/src/buildtool/common/location.cpp @@ -18,7 +18,6 @@ #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/logging/log_level.hpp" #include "src/buildtool/logging/logger.hpp" -#include "src/buildtool/storage/config.hpp" auto ReadLocationObject(nlohmann::json const& location, std::optional const& ws_root) @@ -43,7 +42,7 @@ auto ReadLocationObject(nlohmann::json const& location, root_path = *ws_root; } if (root == "home") { - root_path = StorageConfig::GetUserHome(); + root_path = FileSystemManager::GetUserHome(); } if (root == "system") { root_path = FileSystemManager::GetCurrentDirectory().root_path(); -- cgit v1.2.3