aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Exceptions.h
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-10-05 17:06:30 +0800
committerLianaHus <liana@ethdev.com>2015-10-15 02:27:44 +0800
commit8f7f22c5a6b1a71d7baff489b6425670550e8e8b (patch)
treed133d6f4cbe0f712e648d1b646505b6495fa1b31 /libsolidity/Exceptions.h
parent742e5b259a8c88e69f09ede7312673157cd77a1f (diff)
downloaddexon-solidity-8f7f22c5a6b1a71d7baff489b6425670550e8e8b.tar.gz
dexon-solidity-8f7f22c5a6b1a71d7baff489b6425670550e8e8b.tar.zst
dexon-solidity-8f7f22c5a6b1a71d7baff489b6425670550e8e8b.zip
some fixes
Diffstat (limited to 'libsolidity/Exceptions.h')
-rw-r--r--libsolidity/Exceptions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/Exceptions.h b/libsolidity/Exceptions.h
index 723475c7..5a1b827c 100644
--- a/libsolidity/Exceptions.h
+++ b/libsolidity/Exceptions.h
@@ -41,6 +41,7 @@ public:
DocstringParsingError,
ParserError,
TypeError,
+
Warning
};
@@ -69,7 +70,7 @@ public:
}
}
- Type type() { return m_type; }
+ Type const type() { return m_type; } const
std::string const& typeName() const { return m_typeName; }
private: