mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
explicitly show overriding to align examples to their comments
This commit is contained in:
parent
cc49f5b27a
commit
2fa7be9326
@ -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 {}
|
||||
};
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user