diff --git a/src/parser/factories/sequence.cc b/src/parser/factories/sequence.cc index a9cd82e..d12ab4e 100644 --- a/src/parser/factories/sequence.cc +++ b/src/parser/factories/sequence.cc @@ -40,7 +40,7 @@ namespace hpp { namespace manipulation { namespace parser { namespace { -struct StringIsEmpty : public std::unary_function { +struct StringIsEmpty { bool operator()(std::string s) const { return s.empty(); } };