diff options
author | LianaHus <liana@ethdev.com> | 2015-09-01 17:19:02 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-09-08 19:12:00 +0800 |
commit | 02d4198242ec3dacc7af31c9446c83adcf014de9 (patch) | |
tree | 6d000f103d2520ebec433c41726dd30350462d8b /libsolidity/GasEstimator.cpp | |
parent | 1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (diff) | |
download | dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.gz dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.bz2 dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.lz dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.xz dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.zst dexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.zip |
removed get prefix
style fixes
Diffstat (limited to 'libsolidity/GasEstimator.cpp')
-rw-r--r-- | libsolidity/GasEstimator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/GasEstimator.cpp b/libsolidity/GasEstimator.cpp index 5ff6814d..d576561a 100644 --- a/libsolidity/GasEstimator.cpp +++ b/libsolidity/GasEstimator.cpp @@ -52,7 +52,7 @@ GasEstimator::ASTGasConsumptionSelfAccumulated GasEstimator::structuralEstimatio GasMeter meter(block.startState->copy()); auto const end = _items.begin() + block.end; for (auto iter = _items.begin() + block.begin; iter != end; ++iter) - particularCosts[iter->getLocation()] += meter.estimateMax(*iter); + particularCosts[iter->location()] += meter.estimateMax(*iter); } set<ASTNode const*> finestNodes = finestNodesAtLocation(_ast); |