diff options
-rw-r--r-- | createRandomTest.cpp | 2 | ||||
-rw-r--r-- | vm.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp index a9a99377..f74be930 100644 --- a/createRandomTest.cpp +++ b/createRandomTest.cpp @@ -134,7 +134,7 @@ void doMyTests(json_spirit::mValue& v) o["pre"] = mValue(fev.exportState()); fev.importExec(o["exec"].get_obj()); - if (!fev.code.size()) + if (fev.code.empty()) { fev.thisTxCode = get<3>(fev.addresses.at(fev.myAddress)); fev.code = fev.thisTxCode; @@ -289,7 +289,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) o["pre"] = mValue(fev.exportState()); fev.importExec(o["exec"].get_obj()); - if (!fev.code.size()) + if (fev.code.empty()) { fev.thisTxCode = get<3>(fev.addresses.at(fev.myAddress)); fev.code = fev.thisTxCode; |