Change find to use a single character

This commit is contained in:
Alex Beregszaszi 2018-10-09 18:06:25 +01:00
parent fa0ce6a7e7
commit e732c49c2f

View File

@ -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)
{