]> www.ginac.de Git - cln.git/blobdiff - src/base/hash/cl_hash2.h
Fix compilation with clang.
[cln.git] / src / base / hash / cl_hash2.h
index da911a774175dfea30661c0ead01ee27a08d4e80..66593ae6d6294463e258abb051bf4231b71fe7c0 100644 (file)
@@ -3,8 +3,8 @@
 #ifndef _CL_HASH2_H
 #define _CL_HASH2_H
 
-#include "cl_hash.h"
-#include "cl_iterator.h"
+#include "base/hash/cl_hash.h"
+#include "base/cl_iterator.h"
 
 namespace cln {
 
@@ -118,7 +118,7 @@ private:
         if (this->_freelist < -1)
             return;
         // Can we make room?
-        if (_garcol_fun(this))
+        if (this->_garcol_fun(this))
             if (this->_freelist < -1)
                 return;
         // No! Have to grow the hash table.
@@ -126,7 +126,7 @@ private:
       #else
         // workaround Sun C++ 4.1 inline function compiler bug
         if (this->_freelist >= -1) {
-            if (!_garcol_fun(this) || (this->_freelist >= -1))
+            if (!this->_garcol_fun(this) || (this->_freelist >= -1))
                 grow();
         }
       #endif