diff options
| author | Tom Harley | 2018-11-16 11:09:45 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-11-16 11:09:45 +0000 |
| commit | 8c819b9e127d6ca837da214667945634725a66ed (patch) | |
| tree | 1a0776ccc38b8c97b10fbefa8e10e93396d596d8 /src/main/solver/solver.h | |
| parent | changes in Makefile to turn off some warnings (diff) | |
| download | metasol-8c819b9e127d6ca837da214667945634725a66ed.tar.gz metasol-8c819b9e127d6ca837da214667945634725a66ed.zip | |
wow a thing that works
Diffstat (limited to 'src/main/solver/solver.h')
| -rw-r--r-- | src/main/solver/solver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/solver/solver.h b/src/main/solver/solver.h index 74c73a8..fec3f4b 100644 --- a/src/main/solver/solver.h +++ b/src/main/solver/solver.h @@ -26,7 +26,11 @@ public: }; struct result { +#ifdef C2NIM + enum type { TIMEOUT, SOLVED, UNSOLVABLE, MEM_LIMIT, TERMINATED }; +#else enum class type { TIMEOUT, SOLVED, UNSOLVABLE, MEM_LIMIT, TERMINATED }; +#endif type sol_type; uint64_t states_searched; |
