3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-11 11:24: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

@ -19,6 +19,7 @@ Revision History:
--*/
#include <functional>
#include "muz/spacer/spacer_context.h"
#include "muz/spacer/spacer_generalizers.h"
@ -36,7 +37,7 @@ Revision History:
using namespace spacer;
namespace {
struct index_lt_proc : public std::binary_function<app*, app *, bool> {
struct index_lt_proc : public std::function<bool(app*, app*)> {
arith_util m_arith;
index_lt_proc(ast_manager &m) : m_arith(m) {}
bool operator() (app *a, app *b) {