13 lines
362 B
Text
13 lines
362 B
Text
|
Index: mdart/mdart_function.h
|
||
|
--- mdart/mdart_function.h.orig
|
||
|
+++ mdart/mdart_function.h
|
||
|
@@ -227,7 +227,7 @@ inline int DiffBit(nsaddr_t n1, nsaddr_t n2) {
|
||
|
return i;
|
||
|
}
|
||
|
|
||
|
-inline nsaddr_t hash(nsaddr_t id) {
|
||
|
+inline nsaddr_t myhash(nsaddr_t id) {
|
||
|
bitset<ADDR_SIZE> tempAddress_ (id);
|
||
|
bitset<ADDR_SIZE> address_;
|
||
|
for(unsigned int i=0; i<ADDR_SIZE; i++) {
|