summaryrefslogtreecommitdiff
path: root/src/generic/oops.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/oops.hpp')
-rw-r--r--src/generic/oops.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/generic/oops.hpp b/src/generic/oops.hpp
index cc0cdcd..7c03e42 100644
--- a/src/generic/oops.hpp
+++ b/src/generic/oops.hpp
@@ -28,6 +28,8 @@
# include "oops.hpp"
+namespace tmwa
+{
class AssertionError : public std::runtime_error
{
public:
@@ -38,5 +40,6 @@ public:
# define ALLEGE(desc, expr) \
if (expr) {} \
else throw AssertionError(desc, #expr, __FILE__, __LINE__, __PRETTY_FUNCTION__)
+} // namespace tmwa
#endif // TMWA_GENERIC_OOPS_HPP