Switch to side-by-side view
--- a/src/utils/refcntr.h +++ b/src/utils/refcntr.h @@ -40,8 +40,9 @@ } } X *operator->() {return rep;} + X *getptr() const {return rep;} + const X *getconstptr() const {return rep;} int getcnt() const {return pcount ? *pcount : 0;} - X *getptr() const {return rep;} bool isNull() const {return rep == 0;} };