diff options
author | Gennadiy Civil <misterg@google.com> | 2019-08-19 14:20:11 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-08-19 14:20:11 -0400 |
commit | d5e9e0c38f85363e90b0a3e95a9484fe896d38e5 (patch) | |
tree | 0670adc30cfc85a02e061e2391391d6855fcf12f /googlemock/include/gmock/gmock-more-actions.h | |
parent | 30e58a89a42b8bf98619ac16da2c515d042ca8ff (diff) | |
parent | da76d01b984fcfd02cf7b368b6081c988937f336 (diff) | |
download | googletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.tar.gz googletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.tar.bz2 googletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.zip |
Merge pull request #2397 from kuzkry:custom-type-traits-is_reference
PiperOrigin-RevId: 264193098
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; } |