diff options
Diffstat (limited to 'src/HashFuncEntry.h')
| -rw-r--r-- | src/HashFuncEntry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HashFuncEntry.h b/src/HashFuncEntry.h index 68b0ffa1..dfa86f46 100644 --- a/src/HashFuncEntry.h +++ b/src/HashFuncEntry.h @@ -50,8 +50,8 @@ struct HashFuncEntry { typedef HashFunc HashFuncType; std::string hashType; HashFunc hashFunc; - HashFuncEntry(const std::string& hashType, const HashFunc& hashFunc): - hashType(hashType), hashFunc(hashFunc) + HashFuncEntry(std::string hashType, const HashFunc& hashFunc): + hashType(std::move(hashType)), hashFunc(hashFunc) {} }; |
