From 1bee82ae2d3395a13d5f5e371af6fe5d657602cb Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 12 Jun 2013 10:18:01 +0200 Subject: Fixed gcc build (c++11 stuff in ezSAT) --- libs/ezsat/ezsat.cc | 3 +++ libs/ezsat/ezsat.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'libs') diff --git a/libs/ezsat/ezsat.cc b/libs/ezsat/ezsat.cc index f21c8ee2..e3703131 100644 --- a/libs/ezsat/ezsat.cc +++ b/libs/ezsat/ezsat.cc @@ -24,6 +24,9 @@ #include #include +const int ezSAT::TRUE = 1; +const int ezSAT::FALSE = 2; + ezSAT::ezSAT() { literal("TRUE"); diff --git a/libs/ezsat/ezsat.h b/libs/ezsat/ezsat.h index 8371071e..2674d83d 100644 --- a/libs/ezsat/ezsat.h +++ b/libs/ezsat/ezsat.h @@ -44,8 +44,8 @@ public: OpNot, OpAnd, OpOr, OpXor, OpIFF, OpITE }; - const int TRUE = 1; - const int FALSE = 2; + static const int TRUE; + static const int FALSE; private: std::map literalsCache; -- cgit v1.2.3