From 2c295ace621ed91561f4d8697c56baa916a25b29 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 7 Dec 2014 08:57:04 +0100 Subject: [PATCH] Specify that BlobWithKey takes ownership of the contained blob --- src/blobstore/utils/BlobWithKey.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blobstore/utils/BlobWithKey.h b/src/blobstore/utils/BlobWithKey.h index b9b64973..88a89356 100644 --- a/src/blobstore/utils/BlobWithKey.h +++ b/src/blobstore/utils/BlobWithKey.h @@ -10,7 +10,7 @@ namespace blobstore { struct BlobWithKey { - BlobWithKey(const std::string &key_, std::unique_ptr &&blob_): key(key_), blob(std::move(blob_)) {} + BlobWithKey(const std::string &key_, std::unique_ptr blob_): key(key_), blob(std::move(blob_)) {} std::string key; std::unique_ptr blob;