summaryrefslogtreecommitdiff
path: root/src/other_tools/utils
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-16 09:35:30 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-01-21 11:06:11 +0100
commit4ffa6374dbf67fe386bab041d67a46c3ce75cc23 (patch)
treed8c54ade2418f8247aa89d1ae9a50ddfaf04be6b /src/other_tools/utils
parente6243c6bca5c478cf5588c1433d7e246f8a3daf5 (diff)
downloadjustbuild-4ffa6374dbf67fe386bab041d67a46c3ce75cc23.tar.gz
Just: Support absent tree structure roots
Diffstat (limited to 'src/other_tools/utils')
-rw-r--r--src/other_tools/utils/parse_precomputed_root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/utils/parse_precomputed_root.cpp b/src/other_tools/utils/parse_precomputed_root.cpp
index a27c7989..7b9ef519 100644
--- a/src/other_tools/utils/parse_precomputed_root.cpp
+++ b/src/other_tools/utils/parse_precomputed_root.cpp
@@ -67,7 +67,7 @@ namespace {
if (not repo.IsNotNull()) {
return unexpected<std::string>{"Mandatory key \"repo\" is missing"};
}
- return TreeStructureRoot{.repository = repo->String()};
+ return TreeStructureRoot{.repository = repo->String(), .absent = false};
}
} // namespace