This commit is contained in:
Gennadiy Civil 2019-06-14 09:38:34 -04:00
commit 41961e9e05

View File

@ -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);
}
};