Update HashTable.h

This commit is contained in:
alexey-milovidov 2020-08-03 04:46:47 +03:00 committed by GitHub
parent 7b4112b6f8
commit 79ba0a5be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ namespace ZeroTraits
{
template <typename T>
bool check(T && x) { return x == 0; }
bool check(const T x) { return x == 0; }
template <typename T>
void set(T & x) { x = 0; }