Fix compiler error on older gcc

This commit is contained in:
Sebastian Messmer 2016-07-22 12:58:59 +02:00
parent f069733650
commit 64d26c2f6e

View File

@ -202,7 +202,7 @@ namespace blobstore {
if (endIndex > beginIndex) { if (endIndex > beginIndex) {
onBacktrackFromSubtree(newNode.get()); onBacktrackFromSubtree(newNode.get());
} }
return newNode; return std::move(newNode);
} }
uint32_t LeafTraverser::_maxLeavesForTreeDepth(uint8_t depth) const { uint32_t LeafTraverser::_maxLeavesForTreeDepth(uint8_t depth) const {