commit | d3b65972aad96453ff4510caa3e25a2b847c6d1e | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Wed Mar 22 12:05:03 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Mar 22 16:06:18 2017 +0000 |
tree | b79341c2266afe3b529aa1f4cd80c97b9a9e71ae | |
parent | 30a38ff737c61799b0f36d2e6ba412f7e612f617 [diff] [blame] |
Mark overridden destructors with 'override' and remove 'virtual' This silences a new warning in clang 5.0 Change-Id: Ieb5b75a6ffed60107c3fd16075d2ecfd515b55e8 Reviewed-on: https://skia-review.googlesource.com/10006 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp index 8051191..9573161 100644 --- a/tests/ResourceCacheTest.cpp +++ b/tests/ResourceCacheTest.cpp
@@ -295,7 +295,7 @@ return new TestResource(gpu, size); } - ~TestResource() { + ~TestResource() override { --fNumAlive; SkSafeUnref(fToDelete); }