diff options
author | B Stack <bgstack15@gmail.com> | 2020-07-22 11:37:03 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-07-22 11:37:03 -0400 |
commit | c95b3937fef3e2c63768f1b3b1dc2c898f23d91d (patch) | |
tree | 10260e25ae905564f7978b83fc4e316670f987c6 /zen/stl_tools.h | |
parent | Merge branch '10.25' into 'master' (diff) | |
download | FreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.tar.gz FreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.tar.bz2 FreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.zip |
add upstream 11.0
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r-- | zen/stl_tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/stl_tools.h b/zen/stl_tools.h index 5fd29b6b..7d071413 100644 --- a/zen/stl_tools.h +++ b/zen/stl_tools.h @@ -270,7 +270,7 @@ Num hashArray(ByteIterator first, ByteIterator last) static_assert(IsInteger<ValType>::value || std::is_same_v<ValType, char> || std::is_same_v<ValType, wchar_t>); FNV1aHash<Num> hash; - std::for_each(first, last, [&hash](ValType v) { hash.add(static_cast<Num>(v)); }); + std::for_each(first, last, [&hash](ValType v) { hash.add(v); }); return hash.get(); } |