From b2cb220eb79270e7139919df6be1d7401be32b0e Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 14 Oct 2020 09:48:24 -0400 Subject: [PATCH] Googletest export Prefer using over typedef. PiperOrigin-RevId: 337080404 --- 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 9bca0747..ecfdaf53 100644 --- a/googletest/docs/advanced.md +++ b/googletest/docs/advanced.md @@ -1538,7 +1538,7 @@ template class FooTest : public ::testing::Test { public: ... - typedef std::list List; + using List = std::list; static T shared_; T value_; }; @@ -1642,7 +1642,7 @@ put the above code in a header file, you can `#include` it in multiple C++ source files and instantiate it multiple times. ```c++ -typedef ::testing::Types MyTypes; +using MyTypes = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes); ```