edits
[iotcloud.git] / version2 / src / C / hashset.h
index a9af155a15500f8b03d62cda816431a2bbaa89d7..d0b01f61bb007a32a792daf6cd22f84763e6bc2e 100644 (file)
@@ -173,8 +173,8 @@ private:
        Hashtable<_Key, _Key, _KeyInt, _Shift, hash_function, equals> *table;
 };
 
-template<typename _Key, typename _KeyInt, int _Shift, unsigned int (*hash_function)(_Key), bool (*equals)(_Key, _Key)>
-       SetIterator<_Key, _KeyInt, _Shift, hash_function, equals> * getKeyIterator(Hashtable<_Key,_Key,_KeyInt,_Shift,hash_function,equals> *table) {
+template<typename _Key, typename _Val, typename _KeyInt, int _Shift, unsigned int (*hash_function)(_Key), bool (*equals)(_Key, _Key)>
+       SetIterator<_Key, _KeyInt, _Shift, hash_function, equals> * getKeyIterator(Hashtable<_Key,_Val,_KeyInt,_Shift,hash_function,equals> *table) {
        return new SetIterator<_Key, _KeyInt, _Shift, hash_function, equals>(table->list, table);
 }
 #endif