tabbing
[iotcloud.git] / version2 / src / C / hashtable.h
index aca3361eb912b6e017f97a95bb96f372d242fe14..91d1e5a465c9358364e547a7da55c1ee2b01645a 100644 (file)
@@ -83,15 +83,15 @@ public:
                tail = list = NULL;
        }
 
-Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> * clone() {
-       Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> * ctable = new Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> (capacity, loadfactor);
-       struct Hashlistnode<_Key, _Val> * ptr = list;
-       while (ptr != NULL) {
-               ctable->put(ptr->key, ptr->val);
-               ptr = ptr->next;
+       Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> *clone() {
+               Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> *ctable = new Hashtable<_Key, _Val, _KeyInt, _Shift, hash_function, equals> (capacity, loadfactor);
+               struct Hashlistnode<_Key, _Val> *ptr = list;
+               while (ptr != NULL) {
+                       ctable->put(ptr->key, ptr->val);
+                       ptr = ptr->next;
+               }
+               return ctable;
        }
-       return ctable;
-}
 
 
        /** @brief Hash table destructor */