summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ezsat/ezsat.cc3
-rw-r--r--libs/ezsat/ezsat.h4
2 files changed, 5 insertions, 2 deletions
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 <stdlib.h>
#include <assert.h>
+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<std::string, int> literalsCache;