aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/Exception.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-25 17:30:46 +0800
committercrupest <crupest@outlook.com>2022-01-25 17:30:46 +0800
commit2ed65999ef6f3e1156427dd3efe04353ae657882 (patch)
tree1c6618099e42887e96351c87cc8ce6b7c61b01f7 /include/cru/platform/Exception.hpp
parenta77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a (diff)
downloadcru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.gz
cru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.bz2
cru-2ed65999ef6f3e1156427dd3efe04353ae657882.zip
...
Diffstat (limited to 'include/cru/platform/Exception.hpp')
-rw-r--r--include/cru/platform/Exception.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/cru/platform/Exception.hpp b/include/cru/platform/Exception.hpp
index 379753d4..b50e8c67 100644
--- a/include/cru/platform/Exception.hpp
+++ b/include/cru/platform/Exception.hpp
@@ -2,18 +2,9 @@
#include "Base.hpp"
#include "cru/common/Base.hpp"
#include "cru/common/Exception.hpp"
+#include "cru/common/platform/Exception.hpp"
namespace cru::platform {
-class CRU_PLATFORM_API PlatformException : public Exception {
- public:
- using Exception::Exception; // inherit constructors
-
- CRU_DEFAULT_COPY(PlatformException)
- CRU_DEFAULT_MOVE(PlatformException)
-
- CRU_DEFAULT_DESTRUCTOR(PlatformException)
-};
-
// This exception is thrown when a resource is used on another platform.
// Of course, you can't mix resources of two different platform.
// For example, Win32 Brush (may add in the future) with Direct Painter.