X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.h;h=138446b36678180c0d09cbb7b8f7ee8de7118847;hb=5098ea454db9132aa0f576921ca9d1a69429d146;hp=44c848a1196f35b1f1ec2661f0bf3d391d2373f7;hpb=fd3035cd568a2a8d3017845d9eed7fc0daeaa2e7;p=novacoin.git diff --git a/src/wallet.h b/src/wallet.h index 44c848a..138446b 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -477,7 +477,7 @@ public: pthis->mapValue["fromaccount"] = pthis->strFromAccount; std::string str; - BOOST_FOREACH(char f, vfSpent) + for (char f : vfSpent) { str += (f ? '1' : '0'); if (f) @@ -505,7 +505,7 @@ public: pthis->strFromAccount = pthis->mapValue["fromaccount"]; if (mapValue.count("spent")) - BOOST_FOREACH(char c, pthis->mapValue["spent"]) + for (char c : pthis->mapValue["spent"]) pthis->vfSpent.push_back(c != '0'); else pthis->vfSpent.assign(vout.size(), fSpent);