1
0
Fork 0

don't move

This commit is contained in:
Jan Steemann 2016-04-13 15:24:57 +02:00
parent 74b70bf60f
commit 6f9d45f99e
1 changed files with 1 additions and 1 deletions

View File

@ -1277,7 +1277,7 @@ OperationResult Transaction::insertLocal(std::string const& collectionName,
// FIXME: We might only want to send the successful tries to the
// replica, for now, we simply send the same body:
auto body = std::make_shared<std::string>();
*body = std::move(value.toJson());
*body = value.toJson();
// Now prepare the requests:
std::vector<ClusterCommRequest> requests;