16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 04:19:19 +02:00

basic patches for most of discovered memory leaks, fixes for brake system components

This commit is contained in:
tmj-fstate
2017-01-18 07:56:51 +01:00
parent 4da7fedfe1
commit 6ab550831d
33 changed files with 824 additions and 929 deletions

View File

@@ -191,7 +191,7 @@ bool cParser::trimComments(std::string &String)
return false;
}
std::string cParser::readComment(const std::string Break)
std::string cParser::readComment(std::string const &Break)
{ // pobieranie znaków a¿ do znalezienia znacznika koñca
std::string token = "";
while (mStream->peek() != EOF)