diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-02-08 18:50:50 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-02-08 18:50:50 +0100 |
commit | 429d871df49ab9479a7e6c431a2fa44577a29024 (patch) | |
tree | 6b51c8a9cafc024fc2f39dd64a01d1f8993e4152 /searchcore/src/tests/proton/flushengine | |
parent | 63cd60257711b02a435a92fa0cc3c2fb7b976d9b (diff) |
Eliminate some clang warnings in searchcore.
Diffstat (limited to 'searchcore/src/tests/proton/flushengine')
-rw-r--r-- | searchcore/src/tests/proton/flushengine/flushengine_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/flushengine/flushengine_test.cpp b/searchcore/src/tests/proton/flushengine/flushengine_test.cpp index f668072b9fd..96092625979 100644 --- a/searchcore/src/tests/proton/flushengine/flushengine_test.cpp +++ b/searchcore/src/tests/proton/flushengine/flushengine_test.cpp @@ -108,7 +108,7 @@ public: return std::make_unique<WrappedFlushTask>(std::move(task), _handler); } - return std::move(task); + return task; } }; @@ -160,7 +160,7 @@ public: wrappedTargets.push_back(std::make_shared<WrappedFlushTarget> (target, *this)); } - return std::move(wrappedTargets); + return wrappedTargets; } // Called once by flush engine slave thread for each task done |