Delete RefCountedObject's copy constructor

This commit is contained in:
yvt 2019-07-20 14:18:48 +09:00
parent e6227b3361
commit 6517338dab
No known key found for this signature in database
GPG Key ID: 48F2768FA8D07C92

View File

@ -68,6 +68,8 @@ namespace spades {
public:
RefCountedObject();
RefCountedObject(const RefCountedObject &) = delete;
void operator=(const RefCountedObject &) = delete;
void AddRef();
void Release();