]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/common: Fix pessimizing move
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 17 Jul 2020 06:51:36 +0000 (02:51 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 17 Jul 2020 18:18:17 +0000 (14:18 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/common/test_cdc.cc

index 32096b2a285e02dadb25e3a1b5cf128a5cdf8dfc..692c2ecb8fd371ee90b731eb77ac62ffd98faa1c 100644 (file)
@@ -40,7 +40,7 @@ public:
 
   CDCTest() {
     auto plugin = GetParam();
-    cdc = std::move(CDC::create(plugin, 18));
+    cdc = CDC::create(plugin, 18);
   }
 };