diff --git a/src/utils/refcntr.h b/src/utils/refcntr.h index ea567b7a..829a0db9 100644 --- a/src/utils/refcntr.h +++ b/src/utils/refcntr.h @@ -9,7 +9,7 @@ public: RefCntr() : rep(0), pcount(0) {} - RefCntr(X *pp) + explicit RefCntr(X *pp) : rep(pp), pcount(new int(1)) {} RefCntr(const RefCntr &r)