X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2FSV.h;h=ad0bf199e8e3656946cefd2f2b5ec568a48d0ec0;hb=7e82f04c8037d5f8d2d9e8a0b46bc1a3c4f64717;hp=43ae0dcac2ceb723e4612f9f1ab63ca9bdf461fd;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/include/cln/SV.h b/include/cln/SV.h index 43ae0dc..ad0bf19 100644 --- a/include/cln/SV.h +++ b/include/cln/SV.h @@ -81,7 +81,7 @@ public: // Destructor. ~cl_SV_inner (); // Ability to place an object at a given address. - void* operator new (size_t size, cl_SV_inner* ptr) { (void)size; return ptr; } + void* operator new (size_t size, void* ptr) { (void)size; return ptr; } private: // No default constructor, copy constructor, assignment operator, new. cl_SV_inner ();