diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-14 13:33:13 +0200 |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-14 13:33:13 +0200 |
commit | da76d01b984fcfd02cf7b368b6081c988937f336 (patch) | |
tree | 4b739ecda8029046a5f2a1019bc0a439d4972596 /googlemock/include/gmock/gmock-matchers.h | |
parent | 90a443f9c2437ca8a682a1ac625eba64e1d74a8a (diff) | |
download | googletest-da76d01b984fcfd02cf7b368b6081c988937f336.tar.gz googletest-da76d01b984fcfd02cf7b368b6081c988937f336.tar.bz2 googletest-da76d01b984fcfd02cf7b368b6081c988937f336.zip |
remove a custom implementation of std::is_reference
Diffstat (limited to 'googlemock/include/gmock/gmock-matchers.h')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 70750827..874151b7 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -280,7 +280,7 @@ class SafeMatcherCastImpl { // Enforce that we are not converting a non-reference type T to a reference // type U. GTEST_COMPILE_ASSERT_( - internal::is_reference<T>::value || !internal::is_reference<U>::value, + std::is_reference<T>::value || !std::is_reference<U>::value, cannot_convert_non_reference_arg_to_reference); // In case both T and U are arithmetic types, enforce that the // conversion is not lossy. |