Skip to content

Commit 8002a51

Browse files
authored
tiny fix to qprofdiff (#6497)
1 parent 293627c commit 8002a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/qprofdiff/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int parse(string const & filename, map<string, map_entry> & data) {
6565
inx != string::npos;
6666
inx = line.find(" : ", from)) {
6767
tokens[ti] = trim(line.substr(from, inx-from));
68-
from = inx+1;
68+
from = inx+3; //3 is the length of " : "
6969
ti++;
7070
}
7171
if (from != line.length() && ti < 4)

0 commit comments

Comments
 (0)