diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-08-17 17:44:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-17 17:44:48 (GMT) |
commit | cda442da0b6027bdaf3b37e4df1b1b280e5732ab (patch) | |
tree | 9c89f8b3b7d071bc3e035180dfb605cfa85b95ce /googletest/include | |
parent | edc1bc606eb46c6786710a6e6303bb91400b2fe0 (diff) | |
download | googletest-cda442da0b6027bdaf3b37e4df1b1b280e5732ab.zip googletest-cda442da0b6027bdaf3b37e4df1b1b280e5732ab.tar.gz googletest-cda442da0b6027bdaf3b37e4df1b1b280e5732ab.tar.bz2 |
Formatting
Diffstat (limited to 'googletest/include')
-rw-r--r-- | googletest/include/gtest/gtest-printers.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h index 491bcc9..51865f8 100644 --- a/googletest/include/gtest/gtest-printers.h +++ b/googletest/include/gtest/gtest-printers.h @@ -978,12 +978,13 @@ struct TuplePolicy { static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; template <size_t I> - struct tuple_element : ::std::tr1::tuple_element<static_cast<int>(I), Tuple> {}; + struct tuple_element : ::std::tr1::tuple_element<static_cast<int>(I), Tuple> { + }; template <size_t I> - static typename AddReference< - const typename ::std::tr1::tuple_element<static_cast<int>(I), Tuple>::type>::type get( - const Tuple& tuple) { + static typename AddReference<const typename ::std::tr1::tuple_element< + static_cast<int>(I), Tuple>::type>::type + get(const Tuple& tuple) { return ::std::tr1::get<I>(tuple); } }; |