]> www.ginac.de Git - cln.git/blobdiff - include/cln/dfloat_class.h
Rework of autoconfiscation infrastructure
[cln.git] / include / cln / dfloat_class.h
index f36f80fee0513e1f3fc2d283355f16a903e900d4..515fb3730d58aead73604d05cb882e809888c1c1 100644 (file)
@@ -31,7 +31,7 @@ public:
        operator struct cl_heap_dfloat * () const;
 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_DF* 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.