mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
Copilot review feedback
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -511,7 +511,7 @@ SHAMap::addRootNode(
|
||||
if (backed_)
|
||||
canonicalize(hash, rootNode);
|
||||
|
||||
root_ = rootNode;
|
||||
root_ = std::move(rootNode);
|
||||
|
||||
if (root_->isLeaf())
|
||||
clearSynching();
|
||||
|
||||
Reference in New Issue
Block a user