diff options
author | Jerry Turcios <jerryturcios08@gmail.com> | 2018-10-09 20:47:38 -0400 |
---|---|---|
committer | Jerry Turcios <jerryturcios08@gmail.com> | 2018-10-09 20:47:38 -0400 |
commit | 274b39bfa0b7108052e9019f896079713bd88d8d (patch) | |
tree | 73491fccf4e7173a4d7afe0a7b191fb507222e17 /googlemock/include/gmock/internal/gmock-internal-utils.h | |
parent | a113467a4e7e03fe9ce54303263dd1facb852a23 (diff) | |
parent | 78761b58fc9ae65acaebb6a9e34087e593c89c93 (diff) | |
download | googletest-274b39bfa0b7108052e9019f896079713bd88d8d.tar.gz googletest-274b39bfa0b7108052e9019f896079713bd88d8d.tar.bz2 googletest-274b39bfa0b7108052e9019f896079713bd88d8d.zip |
Merge branch 'master' of https://github.com/google/googletest
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()); } }; |