aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-06 06:03:24 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-06 06:03:24 +0800
commitc966ff246fefad4d9522eb87f4cf80dd51a92465 (patch)
treebb818286c87b1bd5c8c522c317f561d39f3099c2 /Types.cpp
parent305f54b23f9643538a7e3a06d855271be0949035 (diff)
downloaddexon-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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Types.cpp b/Types.cpp
index a8b3add4..648cf9cb 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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;
}