commit | c0b06e55d3d29a1a0c8817b5d9c9e8debb9763c7 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Nov 16 17:44:42 2017 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Nov 17 10:01:56 2017 -0800 |
tree | 45afe0613f5a19055e93cb82445a0501252ecc8f | |
parent | 8dc52213c6f9dfcbbbc8c9df8796cd583ef441e4 [diff] |
ANDROID: Fix -Wdelete-non-virtual-dtor warnings Clang inserts undefined instrunctions when it hits a -Wdelete-non-virtual-dtor warning while targeting darwin. Fix the undefined behavior by making the destructor virtual for classes that have virtual methods. Bug: 69449598 Change-Id: Iaf3b5705a849f6529a652967cad5498f8865f004