X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Frefptr.h;h=1a164c1a90eafe69d3eab755b971400ff1f3e275;hp=79401dce5be40094a9f55212c0c3fb4abd8f7dc9;hb=af9f2e378f3adea7e636bac3c320ad2272af7612;hpb=fd92c15d03a27338c08378ad21dd1b83edebeb01 diff --git a/source/core/refptr.h b/source/core/refptr.h index 79401dc..1a164c1 100644 --- a/source/core/refptr.h +++ b/source/core/refptr.h @@ -10,10 +10,8 @@ struct RefCounts KEEP = 1U<<(sizeof(unsigned)*8-1) }; - unsigned count; - unsigned weak_count; - - RefCounts(): count(0), weak_count(0) { } + unsigned count = 0; + unsigned weak_count = 0; }; template