diff options
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()}; } |