mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add std:: qualifier to move() calls
This commit is contained in:
@@ -64,7 +64,7 @@ protected:
|
||||
Program optimisedProgram(Program _program) const
|
||||
{
|
||||
[[maybe_unused]] size_t originalSize = _program.codeSize(m_weights);
|
||||
Program result = move(_program);
|
||||
Program result = std::move(_program);
|
||||
result.optimise(m_chromosome.optimisationSteps());
|
||||
|
||||
// Make sure that the program and the chromosome we have chosen are suitable for the test
|
||||
|
||||
@@ -52,7 +52,7 @@ protected:
|
||||
|
||||
Program optimisedProgram(Program _program, string _abbreviatedOptimisationSteps) const
|
||||
{
|
||||
Program result = move(_program);
|
||||
Program result = std::move(_program);
|
||||
result.optimise(Chromosome::genesToSteps(_abbreviatedOptimisationSteps));
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ using namespace solidity::phaser::test;
|
||||
|
||||
function<Mutation> phaser::test::wholeChromosomeReplacement(Chromosome _newChromosome)
|
||||
{
|
||||
return [_newChromosome = move(_newChromosome)](Chromosome const&) { return _newChromosome; };
|
||||
return [_newChromosome = std::move(_newChromosome)](Chromosome const&) { return _newChromosome; };
|
||||
}
|
||||
|
||||
function<Mutation> phaser::test::geneSubstitution(size_t _geneIndex, string _geneValue)
|
||||
|
||||
Reference in New Issue
Block a user