Skip to content

Commit

Permalink
tiny fix to qprofdiff (#6497)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikswamy authored Dec 30, 2022
1 parent 293627c commit 8002a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/qprofdiff/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int parse(string const & filename, map<string, map_entry> & data) {
inx != string::npos;
inx = line.find(" : ", from)) {
tokens[ti] = trim(line.substr(from, inx-from));
from = inx+1;
from = inx+3; //3 is the length of " : "
ti++;
}
if (from != line.length() && ti < 4)
Expand Down

0 comments on commit 8002a51

Please sign in to comment.