From 5a843c4c224051237105a6e8de472ae9a216c001 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Dec 2015 20:40:21 +0000 Subject: Replace use of cassert with exceptions. --- src/stl_binary_tables.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stl_binary_tables.cc') 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 using std::map; using std::string; @@ -55,7 +55,7 @@ enum_to_file (E k, map > m) } } - assert (false); + SUB_ASSERT (false); return F (); } -- cgit v1.2.3