COMMON: fix move assignment operator in ScopedPtr

This commit is contained in:
grisenti 2022-06-23 22:58:46 +02:00 committed by Eugene Sandulenko
parent 056a7f702e
commit 3c0dfdf49f
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -570,6 +570,8 @@ struct ArrayDeleter {
template<typename T, class DL = DefaultDeleter<T> >
class ScopedPtr : private NonCopyable, public SafeBool<ScopedPtr<T, DL> > {
template<class T2, class DL2>
friend class ScopedPtr;
public:
typedef T ValueType;
typedef T *PointerType;