Add missing override and remove redundant virtual in folly
[folly.git] / folly / test / PaddedTest.cpp
index b3ea1d4a2a3c42b29d973edeb6062404d69c2b5a..406d88c0317046f7d3985d3efc329f7bf149fc06 100644 (file)
@@ -84,7 +84,7 @@ class IntPaddedTestBase : public ::testing::Test {
 
 class IntPaddedConstTest : public IntPaddedTestBase {
  protected:
-  void SetUp() {
+  void SetUp() override {
     v_.resize(4);
     n_ = 0;
     for (int i = 0; i < 4; i++) {
@@ -181,7 +181,7 @@ class StructPaddedTestBase : public ::testing::Test {
 
 class StructPaddedConstTest : public StructPaddedTestBase {
  protected:
-  void SetUp() {
+  void SetUp() override {
     v_.resize(4);
     n_ = 0;
     for (int i = 0; i < 4; i++) {