mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change find to use a single character
This commit is contained in:
parent
fa0ce6a7e7
commit
e732c49c2f
@ -780,7 +780,7 @@ CompilerStack::Contract const& CompilerStack::contract(string const& _contractNa
|
||||
// To provide a measure of backward-compatibility, if a contract is not located by its
|
||||
// fully-qualified name, a lookup will be attempted purely on the contract's name to see
|
||||
// if anything will satisfy.
|
||||
if (_contractName.find(":") == string::npos)
|
||||
if (_contractName.find(':') == string::npos)
|
||||
{
|
||||
for (auto const& contractEntry: m_contracts)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user