diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:40:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:40:21 +0000 |
| commit | 5a843c4c224051237105a6e8de472ae9a216c001 (patch) | |
| tree | 8b1b2695a78e1e503a4be9a4ad7c2e643a96bd14 /src/stl_binary_tables.cc | |
| parent | 5877be91301e5dd54ca125c0acd7bfb1ecc3dcd6 (diff) | |
Replace use of cassert with exceptions.
Diffstat (limited to 'src/stl_binary_tables.cc')
| -rw-r--r-- | src/stl_binary_tables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stl_binary_tables.cc b/src/stl_binary_tables.cc index f843421..db623bf 100644 --- a/src/stl_binary_tables.cc +++ b/src/stl_binary_tables.cc @@ -19,8 +19,8 @@ #include "stl_binary_tables.h" #include "exceptions.h" +#include "sub_assert.h" #include "compose.hpp" -#include <cassert> using std::map; using std::string; @@ -55,7 +55,7 @@ enum_to_file (E k, map<F, STLBinaryCode<E> > m) } } - assert (false); + SUB_ASSERT (false); return F (); } |
