aboutsummaryrefslogtreecommitdiffstats
path: root/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Exceptions.h')
-rw-r--r--Exceptions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Exceptions.h b/Exceptions.h
index 330c3778..5a48c47d 100644
--- a/Exceptions.h
+++ b/Exceptions.h
@@ -31,9 +31,9 @@ namespace dev
namespace solidity
{
-struct ParserError: public virtual Exception {};
-struct TypeError: public virtual Exception {};
-struct DeclarationError: public virtual Exception {};
+struct ParserError: virtual Exception {};
+struct TypeError: virtual Exception {};
+struct DeclarationError: virtual Exception {};
typedef boost::error_info<struct tag_sourcePosition, int> errinfo_sourcePosition;
typedef boost::error_info<struct tag_sourceLocation, Location> errinfo_sourceLocation;