Copilot review feedback

This commit is contained in:
Bart
2026-03-02 12:10:12 -05:00
parent b117ecc6a2
commit e6993524ea
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
#include <limits>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>

View File

@@ -511,7 +511,7 @@ SHAMap::addRootNode(
if (backed_)
canonicalize(hash, rootNode);
root_ = rootNode;
root_ = std::move(rootNode);
if (root_->isLeaf())
clearSynching();