diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 06:03:24 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 06:03:24 +0800 |
commit | c966ff246fefad4d9522eb87f4cf80dd51a92465 (patch) | |
tree | bb818286c87b1bd5c8c522c317f561d39f3099c2 /Types.cpp | |
parent | 305f54b23f9643538a7e3a06d855271be0949035 (diff) | |
download | dexon-solidity-c966ff246fefad4d9522eb87f4cf80dd51a92465.tar.gz dexon-solidity-c966ff246fefad4d9522eb87f4cf80dd51a92465.tar.zst dexon-solidity-c966ff246fefad4d9522eb87f4cf80dd51a92465.zip |
More style changes in enums
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -343,16 +343,16 @@ u256 IntegerConstantType::literalValue(Literal const* _literal) const Literal::SubDenomination sub =_literal->getSubDenomination(); switch(sub) { - case Literal::SubDenomination::WEI: - case Literal::SubDenomination::NONE: + case Literal::SubDenomination::Wei: + case Literal::SubDenomination::None: break; - case Literal::SubDenomination::SZABO: + case Literal::SubDenomination::Szabo: value *= u256(1000000000000); break; - case Literal::SubDenomination::FINNEY: + case Literal::SubDenomination::Finney: value *= u256(1000000000000000); break; - case Literal::SubDenomination::ETHER: + case Literal::SubDenomination::Ether: value *= u256(1000000000000000000); break; } |