summaryrefslogtreecommitdiffstats
path: root/source/core/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/exception.h')
-rw-r--r--source/core/exception.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/exception.h b/source/core/exception.h
index 4671ae10b..6739c6778 100644
--- a/source/core/exception.h
+++ b/source/core/exception.h
@@ -6,7 +6,7 @@
namespace Slang
{
- class Exception : public Object
+ class Exception
{
public:
String Message;
@@ -16,6 +16,9 @@ namespace Slang
: Message(message)
{
}
+
+ virtual ~Exception()
+ {}
};
class IndexOutofRangeException : public Exception