aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/GasEstimator.cpp
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-01 17:19:02 +0800
committerLianaHus <liana@ethdev.com>2015-09-08 19:12:00 +0800
commit02d4198242ec3dacc7af31c9446c83adcf014de9 (patch)
tree6d000f103d2520ebec433c41726dd30350462d8b /libsolidity/GasEstimator.cpp
parent1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (diff)
downloaddexon-solidity-02d4198242ec3dacc7af31c9446c83adcf014de9.tar.gz
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.cpp2
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);