]> www.ginac.de Git - cln.git/blobdiff - include/cln/real_class.h
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
[cln.git] / include / cln / real_class.h
index 41c0c515ca918a59f02c43985665f0b7bcc964aa..bae1e512c9f2e9d8c9fbfb229d7f472256a875a4 100644 (file)
@@ -36,7 +36,7 @@ public:
        cl_R (cl_private_thing);
 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_R* 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.