]> www.ginac.de Git - cln.git/blobdiff - include/cln/complex_class.h
Rework of autoconfiscation infrastructure
[cln.git] / include / cln / complex_class.h
index 0f4b3c1b7a151de593463d98d595ce4d21f3b003..b5dec56e8a4f7f67223db3d9f5e477d5e273b52c 100644 (file)
@@ -36,7 +36,7 @@ public:
        cl_N (struct cl_heap_complex *);
 public:        // Ability to place an object at a given address.
        void* operator new (size_t size) { return malloc_hook(size); }
-       void* operator new (size_t size, cl_N* ptr) { (void)size; return ptr; }
+       void* operator new (size_t size, void* ptr) { (void)size; return ptr; }
        void operator delete (void* ptr) { free_hook(ptr); }
 private:
 // Friend declarations. They are for the compiler. Just ignore them.