]> www.ginac.de Git - cln.git/blobdiff - src/polynomial/elem/cl_UP_named.cc
Cater to the fact that g++ 4.3 will use a different naming for
[cln.git] / src / polynomial / elem / cl_UP_named.cc
index a81adaa254ed889d349116ba007eb20828404e3f..dd797347e9067d8429f63545f3c6f01a3c25e354 100644 (file)
@@ -39,13 +39,13 @@ namespace cln {
 // the ring contains exactly one reference to the base ring and exactly one
 // reference to the name (on the property list).
 
-static cl_boolean maygc_htentry (const cl_htentry_from_rcpointer2_to_rcpointer& entry)
+static bool maygc_htentry (const cl_htentry_from_rcpointer2_to_rcpointer& entry)
 {
        if (!entry.key1.pointer_p() || (entry.key1.heappointer->refcount == 2))
                if (!entry.key2.pointer_p() || (entry.key2.heappointer->refcount == 2))
                        if (!entry.val.pointer_p() || (entry.val.heappointer->refcount == 1))
-                               return cl_true;
-       return cl_false;
+                               return true;
+       return false;
 }
 
 static const cl_wht_from_rcpointer2_to_rcpointer univpoly_ring_table = cl_wht_from_rcpointer2_to_rcpointer(maygc_htentry);