diff options
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); |