fixed count forcing null byte at the end of query string

This commit is contained in:
Anonymous275
2022-01-19 01:31:43 +02:00
parent 955231c3f6
commit 48e6b21eda
3 changed files with 6 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ VersionParser::VersionParser(const std::string &from_string) {
std::istringstream tokenStream(from_string);
while (std::getline(tokenStream, token, '.')) {
data.emplace_back(std::stol(token));
split.emplace_back(token);
}
}