d963424630
This fixes warnings emitted by clang: src/cpp-utils/data/Data.cpp:37:10: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ src/blockstore/implementations/ondisk/OnDiskBlockStore.cpp:61:17: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] auto result = std::move(OnDiskBlock::CreateOnDisk(_rootdir, key, std::move(data))); ^ src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:249:10: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(chain); ^ See also: http://vmpstr.blogspot.ch/2015/12/redundant-stdmove.html