diff options
author | Stephen Hines <srhines@google.com> | 2020-08-22 10:08:56 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2020-08-22 10:08:56 -0700 |
commit | 39fa5efb15b146d0c4d26f1dd5f4733d9992693a (patch) | |
tree | 9a98964a9980fa3878ab45cb798aa289cf8a7d70 /opengl/java/javax | |
parent | 267cc11642eeea1608cbc77e3872e24500b07fec (diff) |
Prefer `= delete` in place of DISALLOW_COPY_AND_ASSIGN.
Clang-tidy expects modernized code to prefer deleting copy constructors
and assignment operators to legacy macros.
/disk/android_trees/aosp-master-plus-llvm/frameworks/base/cmds/idmap2/tests/ResultTests.cpp:263:3: error: prefer deleting copy constructor and assignment operator over using macro 'DISALLOW_COPY_AND_ASSIGN' [modernize-replace-disal low-copy-and-assign-macro,-warnings-as-errors]
DISALLOW_COPY_AND_ASSIGN(NoCopyContainer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug: http://b/155835175
Test: mm in idmap2
Change-Id: I3bb29b48a478a67cbda959f47b271ccf8543a768
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions