diff options
| author | Nils Maier <maierman@web.de> | 2014-05-28 03:41:09 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-05-29 19:38:34 +0200 |
| commit | b9fe4119c0f7165669e87cb1423efb030eb96c4d (patch) | |
| tree | be711120896da0db842537c0bf2a0b864c0182ec /src/HashFuncEntry.h | |
| parent | c8ccb434288dff750ff7a8d22d0551043b1eb1e5 (diff) | |
New round of clang-modernize
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) {} }; |
