diff options
author | Tim King <taking@cs.nyu.edu> | 2018-01-08 22:04:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-08 22:04:02 -0800 |
commit | 3c6398194b01372720964590b2b07d93590e511d (patch) | |
tree | 1e1f40d79eeabe8b30524fe96d279a4f3d5b8fd7 /src/options/theoryof_mode.cpp | |
parent | 707e27e61addafdbcce5e7b6d32a61985f563dfb (diff) |
Removing more miscellaneous throw specifiers. (#1488)
Removing more miscellaneous throw specifiers.
Diffstat (limited to 'src/options/theoryof_mode.cpp')
-rw-r--r-- | src/options/theoryof_mode.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/options/theoryof_mode.cpp b/src/options/theoryof_mode.cpp index 9eb2be178..3fe7db532 100644 --- a/src/options/theoryof_mode.cpp +++ b/src/options/theoryof_mode.cpp @@ -19,19 +19,17 @@ #include "options/theoryof_mode.h" #include <ostream> -#include "base/cvc4_assert.h" namespace CVC4 { namespace theory { -std::ostream& operator<<(std::ostream& out, TheoryOfMode m) throw() { +std::ostream& operator<<(std::ostream& out, TheoryOfMode m) +{ switch(m) { case THEORY_OF_TYPE_BASED: return out << "THEORY_OF_TYPE_BASED"; case THEORY_OF_TERM_BASED: return out << "THEORY_OF_TERM_BASED"; default: return out << "TheoryOfMode!UNKNOWN"; } - - Unreachable(); } }/* CVC4::theory namespace */ |