summaryrefslogtreecommitdiffstats
path: root/source/core/exception.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-15 15:21:20 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-15 15:31:22 -0700
commit04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd (patch)
tree199e9a54596c572015c7b0652e62b941418f483f /source/core/exception.h
parent205187b561c3b31fa931e73e8f7263f0c4b1de41 (diff)
Remove more "core" code that isn't used.
It is always easier to add back code when you need it, than it is to maintain code you aren't using.
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