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/Matrix44Bench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/Matrix44Bench.cpp') diff --git a/bench/Matrix44Bench.cpp b/bench/Matrix44Bench.cpp index 1949263c03..b376d5a961 100644 --- a/bench/Matrix44Bench.cpp +++ b/bench/Matrix44Bench.cpp @@ -30,7 +30,7 @@ protected: return fName.c_str(); } - void onDraw(const int loops, SkCanvas*) override { + void onDraw(int loops, SkCanvas*) override { for (int i = 0; i < loops; i++) { this->performTest(); } -- cgit v1.2.3