Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.

This commit is contained in:
kosak
2015-01-08 02:35:11 +00:00
parent 102b50483a
commit c2101c2877
2 changed files with 4 additions and 2 deletions

View File

@@ -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 { ... }
// ...
// };
//