Commit 84a498de authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2285 from tomalakgeretkal:c++17-fix

PiperOrigin-RevId: 253067038
parents 26afdba7 d515158d
...@@ -4266,8 +4266,8 @@ TEST(ResultOfTest, WorksForFunctionReferences) { ...@@ -4266,8 +4266,8 @@ TEST(ResultOfTest, WorksForFunctionReferences) {
// Tests that ResultOf(f, ...) compiles and works as expected when f is a // Tests that ResultOf(f, ...) compiles and works as expected when f is a
// function object. // function object.
struct Functor : public ::std::unary_function<int, std::string> { struct Functor {
result_type operator()(argument_type input) const { std::string operator()(int input) const {
return IntToStringFunction(input); return IntToStringFunction(input);
} }
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment