diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-25 02:54:54 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-25 02:54:54 +0100 |
commit | f58dea71037dca847e373f6efbf75b6056f212ac (patch) | |
tree | 3b9b66379a583eb0b162418d037ec00b66e6bebc /engine/include/exception.hpp | |
parent | Update configure.py to default build libflatland.{so, a} (diff) | |
download | flatland-f58dea71037dca847e373f6efbf75b6056f212ac.tar.gz flatland-f58dea71037dca847e373f6efbf75b6056f212ac.zip |
It compiles! Probably super broken, but compiles!
Diffstat (limited to 'engine/include/exception.hpp')
-rw-r--r-- | engine/include/exception.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/include/exception.hpp b/engine/include/exception.hpp index 47eb272..6f578e8 100644 --- a/engine/include/exception.hpp +++ b/engine/include/exception.hpp @@ -3,6 +3,8 @@ #include <exception> +namespace flat { + class FlatException : public std::exception { const char * error; @@ -19,4 +21,6 @@ public: virtual const char* what() const throw() override; }; +} + #endif |