Switch to side-by-side view
--- a/src/utils/refcntr.h +++ b/src/utils/refcntr.h @@ -9,7 +9,7 @@ RefCntr() : rep(0), pcount(0) {} - RefCntr(X *pp) + explicit RefCntr(X *pp) : rep(pp), pcount(new int(1)) {} RefCntr(const RefCntr &r)
--- a/src/utils/refcntr.h +++ b/src/utils/refcntr.h @@ -9,7 +9,7 @@ RefCntr() : rep(0), pcount(0) {} - RefCntr(X *pp) + explicit RefCntr(X *pp) : rep(pp), pcount(new int(1)) {} RefCntr(const RefCntr &r)