From 2fa7be93268d6c29e89717ee50e41cbc29589655 Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Thu, 18 Jul 2019 17:07:53 +0200 Subject: [PATCH] explicitly show overriding to align examples to their comments --- googletest/docs/advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md index b4e4c215..25697701 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 {} }; ```