Consistently use size_t everywhere for runs/expectedExecutionsPerDeployment

This commit is contained in:
Kamil Śliwak 2021-06-22 13:25:37 +02:00
parent a3c965b7de
commit 6d8ef71277
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ void CompilerStack::setLibraries(std::map<std::string, util::h160> const& _libra
m_libraries = _libraries;
}
void CompilerStack::setOptimiserSettings(bool _optimize, unsigned _runs)
void CompilerStack::setOptimiserSettings(bool _optimize, size_t _runs)
{
OptimiserSettings settings = _optimize ? OptimiserSettings::standard() : OptimiserSettings::minimal();
settings.expectedExecutionsPerDeployment = _runs;

View File

@ -146,7 +146,7 @@ public:
/// Changes the optimiser settings.
/// Must be set before parsing.
void setOptimiserSettings(bool _optimize, unsigned _runs = 200);
void setOptimiserSettings(bool _optimize, size_t _runs = 200);
/// Changes the optimiser settings.
/// Must be set before parsing.