diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-12-17 16:51:12 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-12-19 16:37:59 +0100 |
commit | bd410a2557b6127d47396cd0740347e4af0766df (patch) | |
tree | e8f9a976fb55751ede017c0746a43b682513ef7d /src/other_tools/utils/parse_computed_root.cpp | |
parent | 75abf567afd7a130e9fbc90c6b7ac03ac40651c1 (diff) | |
download | justbuild-bd410a2557b6127d47396cd0740347e4af0766df.tar.gz |
Remove FileRoot::ComputedRoot
Diffstat (limited to 'src/other_tools/utils/parse_computed_root.cpp')
-rw-r--r-- | src/other_tools/utils/parse_computed_root.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/other_tools/utils/parse_computed_root.cpp b/src/other_tools/utils/parse_computed_root.cpp index ccc01d92..540f43c0 100644 --- a/src/other_tools/utils/parse_computed_root.cpp +++ b/src/other_tools/utils/parse_computed_root.cpp @@ -50,7 +50,7 @@ auto ComputedRootParser::GetTargetRepository() const } auto ComputedRootParser::GetResult() const - -> expected<FileRoot::ComputedRoot, std::string> { + -> expected<ComputedRoot, std::string> { auto const repo = GetTargetRepository(); if (not repo) { return unexpected{repo.error()}; @@ -77,10 +77,10 @@ auto ComputedRootParser::GetResult() const return unexpected{fmt::format("Unsupported value {} for key \"config\"", config->ToString())}; } - return FileRoot::ComputedRoot{.repository = *repo, - .target_module = target_module->String(), - .target_name = target_module->String(), - .config = config.IsNotNull() - ? config->ToJson() - : nlohmann::json::object()}; + return ComputedRoot{.repository = *repo, + .target_module = target_module->String(), + .target_name = target_module->String(), + .config = config.IsNotNull() + ? config->ToJson() + : nlohmann::json::object()}; } |