aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorarkpar <arkady.paronyan@gmail.com>2015-07-14 20:30:30 +0800
committerarkpar <arkady.paronyan@gmail.com>2015-07-14 20:30:30 +0800
commite906bb906f912524e70a49aec580ae5e0d99be32 (patch)
treee47dda42f904b0f0af7c5c4e7b6f8a311d0a0bd8 /TestHelper.cpp
parent27b951842342beed9d6876a2786998dc2e8d6189 (diff)
downloaddexon-solidity-e906bb906f912524e70a49aec580ae5e0d99be32.tar.gz
dexon-solidity-e906bb906f912524e70a49aec580ae5e0d99be32.tar.zst
dexon-solidity-e906bb906f912524e70a49aec580ae5e0d99be32.zip
find instead of find_firt_of
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 9a1b1693..2ed1ed4d 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -479,7 +479,7 @@ bytes importCode(json_spirit::mObject& _o)
{
bytes code;
if (_o["code"].type() == json_spirit::str_type)
- if (_o["code"].get_str().find_first_of("0x") != 0)
+ if (_o["code"].get_str().find("0x") != 0)
code = compileLLL(_o["code"].get_str(), false);
else
code = fromHex(_o["code"].get_str().substr(2));