diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2011-02-01 00:00:03 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2011-02-01 00:00:03 +0000 |
commit | 5b61ce3ee5b15e6356487dd97236bf663a96a391 (patch) | |
tree | 20aab5205844d171c2fb89eba88404a1e5f047eb /include/gmock/gmock-actions.h | |
parent | a684b5a5269e3f9c53ef842bf9b9658370418a0c (diff) | |
download | googletest-5b61ce3ee5b15e6356487dd97236bf663a96a391.tar.gz googletest-5b61ce3ee5b15e6356487dd97236bf663a96a391.tar.bz2 googletest-5b61ce3ee5b15e6356487dd97236bf663a96a391.zip |
Picks up gtest r536; renames implicit_cast and down_cast to reduce the chance of clash (by Roman Perepelitsa); enables gmock_gen.py to handle storage specifiers (by Steve Fox).
Diffstat (limited to 'include/gmock/gmock-actions.h')
-rw-r--r-- | include/gmock/gmock-actions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gmock/gmock-actions.h b/include/gmock/gmock-actions.h index 215af4f9..f88ac80d 100644 --- a/include/gmock/gmock-actions.h +++ b/include/gmock/gmock-actions.h @@ -494,11 +494,11 @@ class ReturnAction { // single-argument constructor (e.g. Result is std::vector<int>) and R // has a type conversion operator template. In that case, value_(value) // won't compile as the compiler doesn't known which constructor of - // Result to call. implicit_cast forces the compiler to convert R to + // Result to call. ImplicitCast_ forces the compiler to convert R to // Result without considering explicit constructors, thus resolving the // ambiguity. value_ is then initialized using its copy constructor. explicit Impl(R value) - : value_(::testing::internal::implicit_cast<Result>(value)) {} + : value_(::testing::internal::ImplicitCast_<Result>(value)) {} virtual Result Perform(const ArgumentTuple&) { return value_; } |