summaryrefslogtreecommitdiff
path: root/src/hashfunctionint.cpp
blob: 4bd0febe8b028f41772bd10b21591c0f01c7728d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "hashfunctionint.h"

HashFunctionInt::HashFunctionInt()
{
}

HashFunctionInt::~HashFunctionInt()
{
}

unsigned long int HashFunctionInt::hash( const void *id )
{
	return (unsigned long)(id);
}

bool HashFunctionInt::cmpIDs( const void *id1, const void *id2 )
{
	return (unsigned long)(id1) == (unsigned long)(id2);
}