Merge pull request #1620 from RobertAcksel/develop

change access from private to protected for shared ptr members
This commit is contained in:
Günter Obiltschnig 2017-03-17 10:27:51 +01:00 committed by GitHub
commit f12dc91e97

View File

@ -378,7 +378,7 @@ public:
return _pCounter->referenceCount();
}
private:
protected:
C* deref() const
{
if (!_ptr)
@ -408,7 +408,7 @@ private:
_pCounter->duplicate();
}
private:
protected:
RC* _pCounter;
C* _ptr;