mirror of
https://github.com/google/googletest.git
synced 2024-12-29 20:23:34 +08:00
Merge pull request #2285 from tomalakgeretkal:c++17-fix
PiperOrigin-RevId: 253067038
This commit is contained in:
commit
84a498decc
@ -4266,8 +4266,8 @@ TEST(ResultOfTest, WorksForFunctionReferences) {
|
||||
|
||||
// Tests that ResultOf(f, ...) compiles and works as expected when f is a
|
||||
// function object.
|
||||
struct Functor : public ::std::unary_function<int, std::string> {
|
||||
result_type operator()(argument_type input) const {
|
||||
struct Functor {
|
||||
std::string operator()(int input) const {
|
||||
return IntToStringFunction(input);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user