make RefCntr(x*) explicit
This commit is contained in:
parent
08e4f8e7b4
commit
16309618b4
@ -9,7 +9,7 @@ public:
|
|||||||
RefCntr()
|
RefCntr()
|
||||||
: rep(0), pcount(0)
|
: rep(0), pcount(0)
|
||||||
{}
|
{}
|
||||||
RefCntr(X *pp)
|
explicit RefCntr(X *pp)
|
||||||
: rep(pp), pcount(new int(1))
|
: rep(pp), pcount(new int(1))
|
||||||
{}
|
{}
|
||||||
RefCntr(const RefCntr &r)
|
RefCntr(const RefCntr &r)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user