aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-06 20:38:10 +0800
committerChristian <c@ethdev.com>2015-02-06 20:38:29 +0800
commit82edc1ca6d694ad022c6b0e251da70393dfeb38a (patch)
tree862dc4a01f217ae4a71feb90f64cd901bda2b32a /Types.h
parent16fc2d651e1a96e3f86d98a8b3fb1fa43c9b20c1 (diff)
downloaddexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.tar.gz
dexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.tar.zst
dexon-solidity-82edc1ca6d694ad022c6b0e251da70393dfeb38a.zip
Some fixes for the ether units parser.
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Types.h b/Types.h
index 1f4d27a2..fcc77fea 100644
--- a/Types.h
+++ b/Types.h
@@ -197,8 +197,7 @@ class IntegerConstantType: public Type
public:
virtual Category getCategory() const override { return Category::INTEGER_CONSTANT; }
- static std::shared_ptr<IntegerConstantType const> fromLiteral(std::string const& _literal);
-
+ explicit IntegerConstantType(Literal const& _literal);
explicit IntegerConstantType(bigint _value): m_value(_value) {}
virtual bool isImplicitlyConvertibleTo(Type const& _convertTo) const override;