]> www.ginac.de Git - cln.git/blobdiff - include/cln/univpoly_rational.h
Rework of autoconfiscation infrastructure
[cln.git] / include / cln / univpoly_rational.h
index f9ff026beaff177c3d03ca1cf08147f1d8afbd11..0c53590005140725bc56c6ee367bd9291542ec23 100644 (file)
@@ -53,14 +53,14 @@ public:
        const cl_RA operator() (const cl_RA& 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_RA* 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_rational_ring : public cl_heap_univpoly_ring {
        SUBCLASS_cl_heap_univpoly_ring()
        // High-level operations.
-       void fprint (cl_ostream stream, const cl_UP_RA& x)
+       void fprint (std::ostream& stream, const cl_UP_RA& x)
        {
                cl_heap_univpoly_ring::fprint(stream,x);
        }