From da76d01b984fcfd02cf7b368b6081c988937f336 Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Wed, 14 Aug 2019 13:33:13 +0200 Subject: remove a custom implementation of std::is_reference --- googlemock/include/gmock/gmock-more-actions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'googlemock/include/gmock/gmock-more-actions.h') 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(value) in // a mock function whose k-th (0-based) argument is not a reference. - GTEST_COMPILE_ASSERT_(internal::is_reference::value, + GTEST_COMPILE_ASSERT_(std::is_reference::value, SetArgReferee_must_be_used_with_a_reference_argument); ::std::get(args) = value; } -- cgit v1.2.3