From: Matt Sarett Date: Fri, 5 May 2017 17:21:52 +0000 (-0400) Subject: Fix clang compiler error in SkSLFileOutputStream X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~36^2~426 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76fcb10f47cf992255f3a53af3a4cf407052e9e6;p=platform%2Fupstream%2FlibSkiaSharp.git Fix clang compiler error in SkSLFileOutputStream Bug: skia: Change-Id: Ic3b62ea82c12c9cc5ee8b56b05573e1d06342c0b Reviewed-on: https://skia-review.googlesource.com/15626 Reviewed-by: Ethan Nicholas Commit-Queue: Matt Sarett --- diff --git a/src/sksl/SkSLFileOutputStream.h b/src/sksl/SkSLFileOutputStream.h index 65e8a80..7eba19f 100644 --- a/src/sksl/SkSLFileOutputStream.h +++ b/src/sksl/SkSLFileOutputStream.h @@ -20,7 +20,7 @@ public: fFile = fopen(name, "w"); } - ~FileOutputStream() { + ~FileOutputStream() override { ASSERT(!fOpen); }