mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
Fix bug in qprofdiff. Fixes #4521.
This commit is contained in:
parent
b7caabbd0f
commit
7dd28708a1
|
@ -61,9 +61,9 @@ int parse(string const & filename, map<string, map_entry> & data) {
|
|||
if (line.substr(0, prefix_len) == prefix) {
|
||||
line = trim(line.substr(prefix_len));
|
||||
size_t from = 0, ti = 0;
|
||||
for (size_t inx = line.find(':', from);
|
||||
for (size_t inx = line.find(" : ", from);
|
||||
inx != string::npos;
|
||||
inx = line.find(':', from)) {
|
||||
inx = line.find(" : ", from)) {
|
||||
tokens[ti] = trim(line.substr(from, inx-from));
|
||||
from = inx+1;
|
||||
ti++;
|
||||
|
|
Loading…
Reference in a new issue