diff options
Diffstat (limited to 'src/generic/oops.hpp')
-rw-r--r-- | src/generic/oops.hpp | 3 |
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 |