diff options
Diffstat (limited to 'src/MessageDigest.cc')
| -rw-r--r-- | src/MessageDigest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MessageDigest.cc b/src/MessageDigest.cc index 725c56c8..278baa9b 100644 --- a/src/MessageDigest.cc +++ b/src/MessageDigest.cc @@ -47,8 +47,8 @@ namespace { struct HashTypeEntry { std::string hashType; int strength; - HashTypeEntry(const std::string& hashType, int strength): - hashType(hashType), strength(strength) {} + HashTypeEntry(std::string hashType, int strength): + hashType(std::move(hashType)), strength(strength) {} }; } // namespace |
