X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fappleutility%2FCAReferenceCounted.h;h=a9c8dccca30c4104146c5ef8692e561cc92e5814;hb=f694b867c1eaa8b959db2f17a894900d0a972738;hp=d57f97c31f1187367004c338386c70e761212c7a;hpb=79986643c0c904f6574bb5323e2233a43a9e622e;p=ardour.git diff --git a/libs/appleutility/CAReferenceCounted.h b/libs/appleutility/CAReferenceCounted.h index d57f97c31f..a9c8dccca3 100644 --- a/libs/appleutility/CAReferenceCounted.h +++ b/libs/appleutility/CAReferenceCounted.h @@ -70,13 +70,13 @@ public: } protected: - virtual ~CAReferenceCounted() { } - + virtual ~CAReferenceCounted() { } + CAReferenceCounted(const CAReferenceCounted &) : mRefCount(0) { } + private: SInt32 mRefCount; - CAReferenceCounted(const CAReferenceCounted &a) : mRefCount(0) { } - CAReferenceCounted operator=(const CAReferenceCounted &a) { return *this; } + CAReferenceCounted operator=(const CAReferenceCounted &) { return *this; } };