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-more-actions.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-more-actions.h')
-rw-r--r-- | googlemock/include/gmock/gmock-more-actions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-more-actions.h b/googlemock/include/gmock/gmock-more-actions.h index a052495d..d42484ae 100644 --- a/googlemock/include/gmock/gmock-more-actions.h +++ b/googlemock/include/gmock/gmock-more-actions.h @@ -105,7 +105,7 @@ ACTION_TEMPLATE(SetArgReferee, // Ensures that argument #k is a reference. If you get a compiler // error on the next line, you are using SetArgReferee<k>(value) in // a mock function whose k-th (0-based) argument is not a reference. - GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value, + GTEST_COMPILE_ASSERT_(std::is_reference<argk_type>::value, SetArgReferee_must_be_used_with_a_reference_argument); ::std::get<k>(args) = value; } |