diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-10-10 01:06:25 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-10-10 01:06:25 +0800 |
commit | e732c49c2f6e1096cb9c20df7ec6c4db77f3a710 (patch) | |
tree | 8a21fc1eefd6f59dbc79dfcf903e8d21f1373525 | |
parent | fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85 (diff) | |
download | dexon-solidity-e732c49c2f6e1096cb9c20df7ec6c4db77f3a710.tar.gz dexon-solidity-e732c49c2f6e1096cb9c20df7ec6c4db77f3a710.tar.zst dexon-solidity-e732c49c2f6e1096cb9c20df7ec6c4db77f3a710.zip |
Change find to use a single character
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index d1001c80..1f58245f 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -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) { |