summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/root_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/root_maps/root_utils.cpp')
-rw-r--r--src/other_tools/root_maps/root_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/root_utils.cpp b/src/other_tools/root_maps/root_utils.cpp
index 4173a00d..9dd7badf 100644
--- a/src/other_tools/root_maps/root_utils.cpp
+++ b/src/other_tools/root_maps/root_utils.cpp
@@ -28,7 +28,7 @@ auto CheckServeHasAbsentRoot(ServeApi const& serve,
AsyncMapConsumerLoggerPtr const& logger)
-> std::optional<bool> {
if (auto has_tree = serve.CheckRootTree(tree_id)) {
- return *has_tree;
+ return has_tree;
}
(*logger)(fmt::format("Checking that the serve endpoint knows tree "
"{} failed.",