summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/docs')
-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 {}
};
```