diff options
author | Ryan Yee <ryee88@gmail.com> | 2018-10-11 01:22:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-11 01:22:25 -0700 |
commit | 4d50ab75a730a9aa237a076ddd1a5d4f9f3aadff (patch) | |
tree | 66405faeaa2a21dc705862d9b77672e0888dff54 /googlemock/include/gmock/internal/gmock-internal-utils.h | |
parent | a83429f5d31ad7c48bb0493475f8a77450f03311 (diff) | |
parent | 658c6390a5b363f46c6ad448ad1bce9d6e97e53a (diff) | |
download | googletest-4d50ab75a730a9aa237a076ddd1a5d4f9f3aadff.tar.gz googletest-4d50ab75a730a9aa237a076ddd1a5d4f9f3aadff.tar.bz2 googletest-4d50ab75a730a9aa237a076ddd1a5d4f9f3aadff.zip |
Merge branch 'master' into typo
Diffstat (limited to 'googlemock/include/gmock/internal/gmock-internal-utils.h')
-rw-r--r-- | googlemock/include/gmock/internal/gmock-internal-utils.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h index db64c65c..fd33c004 100644 --- a/googlemock/include/gmock/internal/gmock-internal-utils.h +++ b/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -493,7 +493,7 @@ class StlContainerView<Element[N]> { // This specialization is used when RawContainer is a native array // represented as a (pointer, size) tuple. template <typename ElementPointer, typename Size> -class StlContainerView< ::testing::tuple<ElementPointer, Size> > { +class StlContainerView< ::std::tuple<ElementPointer, Size> > { public: typedef GTEST_REMOVE_CONST_( typename internal::PointeeOf<ElementPointer>::type) RawElement; @@ -501,11 +501,12 @@ class StlContainerView< ::testing::tuple<ElementPointer, Size> > { typedef const type const_reference; static const_reference ConstReference( - const ::testing::tuple<ElementPointer, Size>& array) { - return type(get<0>(array), get<1>(array), RelationToSourceReference()); + const ::std::tuple<ElementPointer, Size>& array) { + return type(std::get<0>(array), std::get<1>(array), + RelationToSourceReference()); } - static type Copy(const ::testing::tuple<ElementPointer, Size>& array) { - return type(get<0>(array), get<1>(array), RelationToSourceCopy()); + static type Copy(const ::std::tuple<ElementPointer, Size>& array) { + return type(std::get<0>(array), std::get<1>(array), RelationToSourceCopy()); } }; |