aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/comb4p/comb4p.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-03-25 10:47:42 -0400
committerJack Lloyd <[email protected]>2019-03-25 10:47:42 -0400
commit9ad6f1bd3046aba8fd014044819510f53290d02e (patch)
treec5a5452f8bffc617b37c36f2ae97246275352bea /src/lib/hash/comb4p/comb4p.cpp
parentd3919a6c973a5216d82e6771b7d6140aa0ad0106 (diff)
Fix some warnings from GCC 9
New redundant-move and pessimizing-move warnings found some
Diffstat (limited to 'src/lib/hash/comb4p/comb4p.cpp')
-rw-r--r--src/lib/hash/comb4p/comb4p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/comb4p/comb4p.cpp b/src/lib/hash/comb4p/comb4p.cpp
index f6c20f35e..a6c40b801 100644
--- a/src/lib/hash/comb4p/comb4p.cpp
+++ b/src/lib/hash/comb4p/comb4p.cpp
@@ -74,7 +74,7 @@ std::unique_ptr<HashFunction> Comb4P::copy_state() const
std::unique_ptr<Comb4P> copy(new Comb4P);
copy->m_hash1 = m_hash1->copy_state();
copy->m_hash2 = m_hash2->copy_state();
- return std::move(copy);
+ return copy;
}
void Comb4P::add_data(const uint8_t input[], size_t length)