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:
parent
b1ab473035
commit
01005a46f6
4 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue