summaryrefslogtreecommitdiff
path: root/openjdkjvm/OpenjdkJvm.cc
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2022-08-29 22:04:04 -0700
committer Ryan Prichard <rprichard@google.com> 2022-09-01 18:27:52 +0000
commit6ff274b4a0c2ed70bae9fc41374dec63dfc6f37a (patch)
tree88a0bd73620854e09705d11a26735e5fa2dbb6d7 /openjdkjvm/OpenjdkJvm.cc
parente502c1d733298fe582e088c353397d6606ed85e9 (diff)
Remove unneeded art::Unit member functions
Remove ~Unit to avoid a build failure after libc++ upgrade: art/cmdline/unit.h:29:3: error: definition of implicit copy assignment operator for 'Unit' is deprecated because it has a user-provided destructor [-Werror,-Wdeprecated-copy-with-user-provided-dtor] (Perhaps std::vector changed to use assignment instead of a copy ctor.) Also remove the Unit() default ctor, because it's unnecessary, and Valgrind support has been deprecated for years now. Similarly, remove the explicitly-defaulted copy ctor. It can be defined implicitly (i.e. following the C++ "rule of zero"). Bug: http://b/175635923 Test: treehugger Change-Id: Iefd41dad5b88361104ab159549058daa3b895612
Diffstat (limited to 'openjdkjvm/OpenjdkJvm.cc')
0 files changed, 0 insertions, 0 deletions