aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--createRandomTest.cpp2
-rw-r--r--vm.cpp2
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;
diff --git a/vm.cpp b/vm.cpp
index a093966d..93cf121d 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -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;