Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e546841c authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge changes I92fca312,I63152fc8,Ia65fb0c2 am: b2719c5f

am: 88897567

Change-Id: I00284fd4d1fb1507aefe3c7e41874b3c5a1ad55f
parents a5466b2a 88897567
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
[Builtin Hooks]
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/ui/
               libs/vr/
               services/surfaceflinger/
               services/vr/

[Hook Scripts]
owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
+1 −3
Original line number Diff line number Diff line
@@ -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;