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>