diff options
Diffstat (limited to 'native/jni/src/utils/exclusive_ownership_pointer.h')
-rw-r--r-- | native/jni/src/utils/exclusive_ownership_pointer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/native/jni/src/utils/exclusive_ownership_pointer.h b/native/jni/src/utils/exclusive_ownership_pointer.h index 3cf78954a..6c67df28e 100644 --- a/native/jni/src/utils/exclusive_ownership_pointer.h +++ b/native/jni/src/utils/exclusive_ownership_pointer.h @@ -56,8 +56,7 @@ class ExclusiveOwnershipPointer { private: // This class allows to copy and assign and ensures only one instance has the ownership of the // managed pointer. - - ExclusiveOwnershipPointer() : mPointer(0), mSharedOwnerPtr(0) {} + DISALLOW_DEFAULT_CONSTRUCTOR(ExclusiveOwnershipPointer); void transferOwnership(const ExclusiveOwnershipPointer<T> *const src) { if (*mSharedOwnerPtr != src) { |