]> www.ginac.de Git - cln.git/blobdiff - include/cln/univpoly_complex.h
* include/cln/*.h: Change signatures of all classes' methods
[cln.git] / include / cln / univpoly_complex.h
index 6c16b342df772ba84790947d17bc796355d8974d..5de6dac820637551417f0eaf6646f288a61e3bd5 100644 (file)
@@ -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);
        }