Added const unsigned char* hashcode

This commit is contained in:
smallmodel 2023-10-27 19:58:38 +02:00
parent 0d1b7a9c8a
commit dc028b87e4
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -72,6 +72,12 @@ int HashCode<unsigned char *>(unsigned char *const& key)
return (int)(size_t)key;
}
template<>
int HashCode<const unsigned char*>(const unsigned char* const& key)
{
return (int)(size_t)key;
}
template<>
int HashCode<short>(const short& key)
{