aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/internal/gmock-internal-utils.h
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2014-04-02 20:30:00 +0000
committerkosak <kosak@google.com>2014-04-02 20:30:00 +0000
commitbd0188320de5aab1b09718e2c466387099d43cfb (patch)
treeb89ba1d8bbac289a5e83c5a4fd71e5b8b1b53bd4 /include/gmock/internal/gmock-internal-utils.h
parent15d61e42bdd4182e7c4b50bcb3314b006ce578c7 (diff)
downloadgoogletest-bd0188320de5aab1b09718e2c466387099d43cfb.tar.gz
googletest-bd0188320de5aab1b09718e2c466387099d43cfb.tar.bz2
googletest-bd0188320de5aab1b09718e2c466387099d43cfb.zip
Export tuple and friends in the ::testing namespace.
Diffstat (limited to 'include/gmock/internal/gmock-internal-utils.h')
-rw-r--r--include/gmock/internal/gmock-internal-utils.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/gmock/internal/gmock-internal-utils.h b/include/gmock/internal/gmock-internal-utils.h
index 2f530d4e..6110dd7b 100644
--- a/include/gmock/internal/gmock-internal-utils.h
+++ b/include/gmock/internal/gmock-internal-utils.h
@@ -464,7 +464,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< ::std::tr1::tuple<ElementPointer, Size> > {
+class StlContainerView< ::testing::tuple<ElementPointer, Size> > {
public:
typedef GTEST_REMOVE_CONST_(
typename internal::PointeeOf<ElementPointer>::type) RawElement;
@@ -472,12 +472,10 @@ class StlContainerView< ::std::tr1::tuple<ElementPointer, Size> > {
typedef const type const_reference;
static const_reference ConstReference(
- const ::std::tr1::tuple<ElementPointer, Size>& array) {
- using ::std::tr1::get;
+ const ::testing::tuple<ElementPointer, Size>& array) {
return type(get<0>(array), get<1>(array), kReference);
}
- static type Copy(const ::std::tr1::tuple<ElementPointer, Size>& array) {
- using ::std::tr1::get;
+ static type Copy(const ::testing::tuple<ElementPointer, Size>& array) {
return type(get<0>(array), get<1>(array), kCopy);
}
};