summaryrefslogtreecommitdiff
path: root/src/other_tools/utils/parse_computed_root.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-12-17 16:51:12 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-12-19 16:37:59 +0100
commitbd410a2557b6127d47396cd0740347e4af0766df (patch)
treee8f9a976fb55751ede017c0746a43b682513ef7d /src/other_tools/utils/parse_computed_root.hpp
parent75abf567afd7a130e9fbc90c6b7ac03ac40651c1 (diff)
downloadjustbuild-bd410a2557b6127d47396cd0740347e4af0766df.tar.gz
Remove FileRoot::ComputedRoot
Diffstat (limited to 'src/other_tools/utils/parse_computed_root.hpp')
-rw-r--r--src/other_tools/utils/parse_computed_root.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/other_tools/utils/parse_computed_root.hpp b/src/other_tools/utils/parse_computed_root.hpp
index e23284da..2cc54c87 100644
--- a/src/other_tools/utils/parse_computed_root.hpp
+++ b/src/other_tools/utils/parse_computed_root.hpp
@@ -20,7 +20,7 @@
#include "gsl/gsl"
#include "src/buildtool/build_engine/expression/expression_ptr.hpp"
-#include "src/buildtool/file_system/file_root.hpp"
+#include "src/buildtool/file_system/precomputed_root.hpp"
#include "src/utils/cpp/expected.hpp"
class ComputedRootParser final {
@@ -36,8 +36,7 @@ class ComputedRootParser final {
[[nodiscard]] auto GetTargetRepository() const
-> expected<std::string, std::string>;
- [[nodiscard]] auto GetResult() const
- -> expected<FileRoot::ComputedRoot, std::string>;
+ [[nodiscard]] auto GetResult() const -> expected<ComputedRoot, std::string>;
private:
ExpressionPtr const& repository_;