diff options
author | crupest <crupest@outlook.com> | 2022-01-25 17:30:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-25 17:30:46 +0800 |
commit | 2ed65999ef6f3e1156427dd3efe04353ae657882 (patch) | |
tree | 1c6618099e42887e96351c87cc8ce6b7c61b01f7 /include/cru/common/platform/Exception.hpp | |
parent | a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a (diff) | |
download | cru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.gz cru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.bz2 cru-2ed65999ef6f3e1156427dd3efe04353ae657882.zip |
...
Diffstat (limited to 'include/cru/common/platform/Exception.hpp')
-rw-r--r-- | include/cru/common/platform/Exception.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/cru/common/platform/Exception.hpp b/include/cru/common/platform/Exception.hpp new file mode 100644 index 00000000..0241947b --- /dev/null +++ b/include/cru/common/platform/Exception.hpp @@ -0,0 +1,15 @@ +#pragma once +#include "../Base.hpp" +#include "../Exception.hpp" + +namespace cru::platform { +class CRU_BASE_API PlatformException : public Exception { + public: + using Exception::Exception; // inherit constructors + + CRU_DEFAULT_COPY(PlatformException) + CRU_DEFAULT_MOVE(PlatformException) + + CRU_DEFAULT_DESTRUCTOR(PlatformException) +}; +} // namespace cru::platform |