3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 00:55:31 +00:00

Made it more legal C++17

This commit is contained in:
Matthew Parkinson 2018-10-15 16:59:31 +01:00
parent b1ab473035
commit 01005a46f6
4 changed files with 10 additions and 6 deletions

View file

@ -21,9 +21,10 @@ Revision History:
#include "ast/ast.h"
#include "util/uint_set.h"
#include <functional>
// TBD: move under qe namespace
class is_variable_proc : public std::unary_function<expr*,bool> {
class is_variable_proc : public std::function<bool(expr*)> {
public:
virtual bool operator()(const expr* e) const = 0;
};