From 2989703ed85154ae7ef90e0d754590116ecb565d Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Thu, 20 Jun 2013 18:59:15 +0000 Subject: Fixes uses of pair to std::pair; pulls in gtest r655. --- include/gmock/gmock-matchers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/gmock/gmock-matchers.h b/include/gmock/gmock-matchers.h index 0512ef44..247b19ae 100644 --- a/include/gmock/gmock-matchers.h +++ b/include/gmock/gmock-matchers.h @@ -1418,7 +1418,7 @@ class BothOfMatcherImpl : public MatcherInterface { template struct MatcherList { typedef MatcherList MatcherListTail; - typedef pair ListType; + typedef ::std::pair ListType; // BuildList stores variadic type values in a nested pair structure. // Example: @@ -1445,11 +1445,11 @@ struct MatcherList { // MatcherList. template struct MatcherList<2, Matcher1, Matcher2> { - typedef pair ListType; + typedef ::std::pair ListType; static ListType BuildList(const Matcher1& matcher1, const Matcher2& matcher2) { - return pair(matcher1, matcher2); + return ::std::pair(matcher1, matcher2); } template class CombiningMatcher> -- cgit v1.2.3