mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Added const unsigned char* hashcode
This commit is contained in:
parent
0d1b7a9c8a
commit
dc028b87e4
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue