Loading libs/binder/ndk/include_ndk/android/binder_auto_utils.h +3 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,9 @@ class ScopedAResource { ScopedAResource& operator=(ScopedAResource&&) = delete; // move-constructing is okay ScopedAResource(ScopedAResource&&) = default; ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } private: T mT; Loading Loading
libs/binder/ndk/include_ndk/android/binder_auto_utils.h +3 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,9 @@ class ScopedAResource { ScopedAResource& operator=(ScopedAResource&&) = delete; // move-constructing is okay ScopedAResource(ScopedAResource&&) = default; ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } private: T mT; Loading