Fixes runtime condenser (#37193)

* Fixes runtime condenser

* stray comment
This commit is contained in:
vuonojenmustaturska
2018-04-16 12:34:48 +03:00
committed by CitadelStationBot
parent f98040513a
commit c8a91e0d13
2 changed files with 31 additions and 29 deletions

View File

@@ -122,6 +122,8 @@ inline void forward_progress(FILE * inputFile) {
if (nextLine->length() >= 10) {
if ((*nextLine)[0] == '[' && (*nextLine)[3] == ':' && (*nextLine)[6] == ':' && (*nextLine)[9] == ']')
nextLine->erase(0, 10);
else if (nextLine->length() >= 26 && ((*nextLine)[0] == '[' && (*nextLine)[5] == '-' && (*nextLine)[14] == ':' && (*nextLine)[20] == '.' && (*nextLine)[24] == ']'))
nextLine->erase(0, 26);
}
}
//deallocates to, copys from to to.