diff options
author | kosak <kosak@google.com> | 2015-01-08 02:35:11 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2015-01-08 02:35:11 +0000 |
commit | c2101c28771d8abd0f2e057cdbdc26b7a05fad2d (patch) | |
tree | f26ca7d5145827f5f6054474fb9a56e3e5311855 /include/gtest | |
parent | 102b50483a4b515a94a5b1c75db468eb071cf172 (diff) | |
download | googletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.tar.gz googletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.tar.bz2 googletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.zip |
Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.
Diffstat (limited to 'include/gtest')
-rw-r--r-- | include/gtest/gtest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index d7e3e264..71d552e1 100644 --- a/include/gtest/gtest.h +++ b/include/gtest/gtest.h @@ -359,8 +359,8 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg); // // class FooTest : public testing::Test { // protected: -// virtual void SetUp() { ... } -// virtual void TearDown() { ... } +// void SetUp() override { ... } +// void TearDown() override { ... } // ... // }; // |