aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/skein
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/skein
parentd3919a6c973a5216d82e6771b7d6140aa0ad0106 (diff)
Fix some warnings from GCC 9
New redundant-move and pessimizing-move warnings found some
Diffstat (limited to 'src/lib/hash/skein')
-rw-r--r--src/lib/hash/skein/skein_512.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/skein/skein_512.cpp b/src/lib/hash/skein/skein_512.cpp
index 3bc23a91d..87dee24ba 100644
--- a/src/lib/hash/skein/skein_512.cpp
+++ b/src/lib/hash/skein/skein_512.cpp
@@ -46,7 +46,7 @@ std::unique_ptr<HashFunction> Skein_512::copy_state() const
copy->m_buffer = this->m_buffer;
copy->m_buf_pos = this->m_buf_pos;
- return std::move(copy);
+ return copy;
}
void Skein_512::clear()