Skip to content

Commit

Permalink
explicitly show overriding to align examples to their comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzkry committed Jul 18, 2019
1 parent cc49f5b commit 2fa7be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions googletest/docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
};
```

Expand Down

0 comments on commit 2fa7be9

Please sign in to comment.