Loading PREUPLOAD.cfg +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ clang_format = true [Builtin Hooks Options] # Only turn on clang-format check for the following subfolders. clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp libs/binder/ndk/ libs/graphicsenv/ libs/gui/ libs/renderengine/ Loading libs/binder/ndk/include_ndk/android/binder_auto_utils.h +1 −3 Original line number Diff line number Diff line Loading @@ -163,9 +163,7 @@ class ScopedAResource { ScopedAResource& operator=(ScopedAResource&&) = delete; // move-constructing is okay ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } private: T mT; Loading Loading
PREUPLOAD.cfg +1 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ clang_format = true [Builtin Hooks Options] # Only turn on clang-format check for the following subfolders. clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp libs/binder/ndk/ libs/graphicsenv/ libs/gui/ libs/renderengine/ Loading
libs/binder/ndk/include_ndk/android/binder_auto_utils.h +1 −3 Original line number Diff line number Diff line Loading @@ -163,9 +163,7 @@ class ScopedAResource { ScopedAResource& operator=(ScopedAResource&&) = delete; // move-constructing is okay ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } private: T mT; Loading