From a1ebeb25e9acfcd801e089e063311d716b83b8a5 Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 1 Oct 2015 09:43:39 -0700 Subject: Remove const from `const int loops`. This drives me nuts, and prevents `while (loops --> 0)`. BUG=skia: Review URL: https://codereview.chromium.org/1379923005 --- bench/WriterBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/WriterBench.cpp') diff --git a/bench/WriterBench.cpp b/bench/WriterBench.cpp index 6db1cf19fe..115ffc1d42 100644 --- a/bench/WriterBench.cpp +++ b/bench/WriterBench.cpp @@ -21,7 +21,7 @@ protected: return "writer"; } - void onDraw(const int loops, SkCanvas*) override { + void onDraw(int loops, SkCanvas*) override { static const char gStr[] = "abcdefghimjklmnopqrstuvwxyz"; static const size_t gLen = strlen(gStr); SkWriter32 writer; -- cgit v1.2.3