diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2019-12-17 13:43:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 13:43:44 -0800 |
commit | e9499c41f405df8b42fd9ae10004b1b91a869106 (patch) | |
tree | fa1475f43a3e61b8f6ffdcb903b65919eba28661 /src/theory/theory.h | |
parent | 9b2914ed9f7b14ecf535ffe9e1328d0fa042e072 (diff) |
Generate code for options with modes. (#3561)
This commit adds support for code generation of options with modes (enums). From now on option enums can be specified in the corresponding *.toml files without the need of extra code. All option enums are now in the options namespace.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index b133b878e..36db0fda8 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -33,7 +33,6 @@ #include "lib/ffs.h" #include "options/options.h" #include "options/theory_options.h" -#include "options/theoryof_mode.h" #include "smt/command.h" #include "smt/dump.h" #include "smt/logic_request.h" @@ -273,7 +272,7 @@ public: /** * Returns the ID of the theory responsible for the given node. */ - static TheoryId theoryOf(TheoryOfMode mode, TNode node); + static TheoryId theoryOf(options::TheoryOfMode mode, TNode node); /** * Returns the ID of the theory responsible for the given node. |