We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b117ecc commit e699352Copy full SHA for e699352
include/xrpl/basics/Slice.h
@@ -11,6 +11,7 @@
11
#include <limits>
12
#include <stdexcept>
13
#include <string>
14
+#include <string_view>
15
#include <type_traits>
16
#include <vector>
17
src/libxrpl/shamap/SHAMapSync.cpp
@@ -511,7 +511,7 @@ SHAMap::addRootNode(
511
if (backed_)
512
canonicalize(hash, rootNode);
513
514
- root_ = rootNode;
+ root_ = std::move(rootNode);
515
516
if (root_->isLeaf())
517
clearSynching();
0 commit comments