summaryrefslogtreecommitdiffstats
path: root/engine/include/exceptions
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-25 02:54:54 +0100
committerNao Pross <naopross@thearcway.org>2019-01-25 02:54:54 +0100
commitf58dea71037dca847e373f6efbf75b6056f212ac (patch)
tree3b9b66379a583eb0b162418d037ec00b66e6bebc /engine/include/exceptions
parentUpdate configure.py to default build libflatland.{so, a} (diff)
downloadflatland-f58dea71037dca847e373f6efbf75b6056f212ac.tar.gz
flatland-f58dea71037dca847e373f6efbf75b6056f212ac.zip
It compiles! Probably super broken, but compiles!
Diffstat (limited to 'engine/include/exceptions')
-rw-r--r--engine/include/exceptions/forcequit.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/engine/include/exceptions/forcequit.hpp b/engine/include/exceptions/forcequit.hpp
index 7b2b324..451190e 100644
--- a/engine/include/exceptions/forcequit.hpp
+++ b/engine/include/exceptions/forcequit.hpp
@@ -1,11 +1,12 @@
#ifndef __FORCE_QUIT_H__
#define __FORCE_QUIT_H__
-struct ForceQuit
-{
- const char * reason;
+namespace flat {
+ struct ForceQuit {
+ const char * reason;
- ForceQuit(const char *reason) : reason(reason) {}
-};
+ ForceQuit(const char *reason) : reason(reason) {}
+ };
+}
#endif