X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Funivpoly_complex.h;h=5de6dac820637551417f0eaf6646f288a61e3bd5;hb=0c3376e34488b339b826a6ee7d9f2bc6c4e6edac;hp=6c16b342df772ba84790947d17bc796355d8974d;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/include/cln/univpoly_complex.h b/include/cln/univpoly_complex.h index 6c16b34..5de6dac 100644 --- a/include/cln/univpoly_complex.h +++ b/include/cln/univpoly_complex.h @@ -53,14 +53,14 @@ public: const cl_N operator() (const cl_N& y) 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_UP_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); } }; class cl_heap_univpoly_complex_ring : public cl_heap_univpoly_ring { SUBCLASS_cl_heap_univpoly_ring() // High-level operations. - void fprint (cl_ostream stream, const cl_UP_N& x) + void fprint (std::ostream& stream, const cl_UP_N& x) { cl_heap_univpoly_ring::fprint(stream,x); }