mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CommandLineInterface::link(): Rename confusingly named "name" to "foundPlaceholder"
This commit is contained in:
parent
61425e3541
commit
bd1989bd0b
@ -1786,14 +1786,14 @@ bool CommandLineInterface::link()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
string name(it, it + placeholderSize);
|
string foundPlaceholder(it, it + placeholderSize);
|
||||||
if (librariesReplacements.count(name))
|
if (librariesReplacements.count(foundPlaceholder))
|
||||||
{
|
{
|
||||||
string hexStr(toHex(librariesReplacements.at(name).asBytes()));
|
string hexStr(toHex(librariesReplacements.at(foundPlaceholder).asBytes()));
|
||||||
copy(hexStr.begin(), hexStr.end(), it);
|
copy(hexStr.begin(), hexStr.end(), it);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
serr() << "Reference \"" << name << "\" in file \"" << src.first << "\" still unresolved." << endl;
|
serr() << "Reference \"" << foundPlaceholder << "\" in file \"" << src.first << "\" still unresolved." << endl;
|
||||||
it += placeholderSize;
|
it += placeholderSize;
|
||||||
}
|
}
|
||||||
// Remove hints for resolved libraries.
|
// Remove hints for resolved libraries.
|
||||||
|
Loading…
Reference in New Issue
Block a user