mirror of https://github.com/YosysHQ/yosys.git
Fixed gcc build (c++11 stuff in ezSAT)
This commit is contained in:
parent
4b311b7b99
commit
1bee82ae2d
|
@ -24,6 +24,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
const int ezSAT::TRUE = 1;
|
||||||
|
const int ezSAT::FALSE = 2;
|
||||||
|
|
||||||
ezSAT::ezSAT()
|
ezSAT::ezSAT()
|
||||||
{
|
{
|
||||||
literal("TRUE");
|
literal("TRUE");
|
||||||
|
|
|
@ -44,8 +44,8 @@ public:
|
||||||
OpNot, OpAnd, OpOr, OpXor, OpIFF, OpITE
|
OpNot, OpAnd, OpOr, OpXor, OpIFF, OpITE
|
||||||
};
|
};
|
||||||
|
|
||||||
const int TRUE = 1;
|
static const int TRUE;
|
||||||
const int FALSE = 2;
|
static const int FALSE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::map<std::string, int> literalsCache;
|
std::map<std::string, int> literalsCache;
|
||||||
|
|
Loading…
Reference in New Issue