diff --git a/src/utils/refcntr.h b/src/utils/refcntr.h index bc9c53ec..af2909a5 100644 --- a/src/utils/refcntr.h +++ b/src/utils/refcntr.h @@ -41,7 +41,7 @@ public: } X *operator->() {return rep;} int getcnt() const {return pcount ? *pcount : 0;} - const X *getptr() const {return rep;} + X *getptr() const {return rep;} bool isNull() const {return rep == 0;} };