summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-18 15:07:53 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-18 15:07:53 (GMT)
commit2fa7be93268d6c29e89717ee50e41cbc29589655 (patch)
tree5e8e462255acbed5752cdafe9f3ae64ee6f1e3e4
parentcc49f5b27a60f6f22db2cab435e242c83c2443a9 (diff)
downloadgoogletest-2fa7be93268d6c29e89717ee50e41cbc29589655.zip
googletest-2fa7be93268d6c29e89717ee50e41cbc29589655.tar.gz
googletest-2fa7be93268d6c29e89717ee50e41cbc29589655.tar.bz2
explicitly show overriding to align examples to their commentsrefs/pull/2338/head
-rw-r--r--googletest/docs/advanced.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md
index b4e4c21..2569770 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -1227,10 +1227,10 @@ class Environment : public ::testing::Environment {
virtual ~Environment() {}
// Override this to define how to set up the environment.
- virtual void SetUp() {}
+ void SetUp() override {}
// Override this to define how to tear down the environment.
- virtual void TearDown() {}
+ void TearDown() override {}
};
```