Browse Source

Merge pull request #4969

cda45b5 Reinitializing list's begin iterator after few elements were erased from the head (ENikS)
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
4b2b78b9f2
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/script/script.h

2
src/script/script.h

@ -544,7 +544,7 @@ public: @@ -544,7 +544,7 @@ public:
{
while (end() - pc >= (long)b.size() && memcmp(&pc[0], &b[0], b.size()) == 0)
{
erase(pc, pc + b.size());
pc = erase(pc, pc + b.size());
++nFound;
}
}

Loading…
Cancel
Save