summaryrefslogtreecommitdiffstats
path: root/googletest/samples/sample3_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/samples/sample3_unittest.cc')
-rw-r--r--googletest/samples/sample3_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/samples/sample3_unittest.cc b/googletest/samples/sample3_unittest.cc
index 97ce55d..b19416d 100644
--- a/googletest/samples/sample3_unittest.cc
+++ b/googletest/samples/sample3_unittest.cc
@@ -71,7 +71,7 @@ class QueueTestSmpl3 : public testing::Test {
// virtual void SetUp() will be called before each test is run. You
// should define it if you need to initialize the variables.
// Otherwise, this can be skipped.
- virtual void SetUp() {
+ void SetUp() override {
q1_.Enqueue(1);
q2_.Enqueue(2);
q2_.Enqueue(3);