aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrMemoryPoolTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-09-27 09:34:10 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-27 14:04:26 +0000
commitfc6c37b981daeece7474ce61070c707c37eefa62 (patch)
treef805d76deeddc4a70a07126e0e78354ff4929258 /tests/GrMemoryPoolTest.cpp
parent9766f0016669029fcdc49f00ceaaf66b01b03f4a (diff)
Remove stray semicolons.
Turns out function declarations don't end in semicolons... BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2720 No public API changes. TBR=reed@google.com Change-Id: I72b56d52e1ff7fa6e89c295b0de8c46599791ebb Reviewed-on: https://skia-review.googlesource.com/2720 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/GrMemoryPoolTest.cpp')
-rw-r--r--tests/GrMemoryPoolTest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/GrMemoryPoolTest.cpp b/tests/GrMemoryPoolTest.cpp
index 1aecce328c..4a0a4c6eca 100644
--- a/tests/GrMemoryPoolTest.cpp
+++ b/tests/GrMemoryPoolTest.cpp
@@ -18,14 +18,14 @@
// that can be set and checked.
class A {
public:
- A() {};
+ A() {}
virtual void setValues(int v) {
fChar = static_cast<char>(v);
}
virtual bool checkValues(int v) {
return fChar == static_cast<char>(v);
}
- virtual ~A() {};
+ virtual ~A() {}
void* operator new(size_t size) {
if (!gPool.get()) {
@@ -63,7 +63,7 @@ SkAutoTDelete<GrMemoryPool> A::gPool;
class B : public A {
public:
- B() {};
+ B() {}
virtual void setValues(int v) {
fDouble = static_cast<double>(v);
this->INHERITED::setValues(v);
@@ -72,7 +72,7 @@ public:
return fDouble == static_cast<double>(v) &&
this->INHERITED::checkValues(v);
}
- virtual ~B() {};
+ virtual ~B() {}
private:
double fDouble;
@@ -82,7 +82,7 @@ private:
class C : public A {
public:
- C() {};
+ C() {}
virtual void setValues(int v) {
fInt64 = static_cast<int64_t>(v);
this->INHERITED::setValues(v);
@@ -91,7 +91,7 @@ public:
return fInt64 == static_cast<int64_t>(v) &&
this->INHERITED::checkValues(v);
}
- virtual ~C() {};
+ virtual ~C() {}
private:
int64_t fInt64;