From 4ed5dac522f66bbe13ed10548dc57a8138234356 Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Wed, 7 Jun 2017 08:26:35 -0400 Subject: Mark SkThreadedBMPDevice destructors with override Very new versions of Clang (5.0 TOT) call out this problem. Bug: skia: Change-Id: Ie86d3936c26769c0d3387a81fd2c247ea1272d1c Reviewed-on: https://skia-review.googlesource.com/18930 Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- src/core/SkThreadedBMPDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkThreadedBMPDevice.h b/src/core/SkThreadedBMPDevice.h index e973df2303..372379acca 100644 --- a/src/core/SkThreadedBMPDevice.h +++ b/src/core/SkThreadedBMPDevice.h @@ -41,7 +41,7 @@ class SkThreadedBMPDevice : public SkBitmapDevice { public: // When threads = 0, we make fThreadCnt = fTileCnt SkThreadedBMPDevice(const SkBitmap& bitmap, int tiles, int threads = 0); - ~SkThreadedBMPDevice() { finishThreads(); } + ~SkThreadedBMPDevice() override { finishThreads(); } protected: void drawPaint(const SkPaint& paint) override; -- cgit v1.2.3