This commit is contained in:
odrling 2019-09-10 10:49:55 +02:00
parent c84d6376d9
commit 35c92b64b5
1 changed files with 1 additions and 3 deletions

View File

@ -386,9 +386,7 @@ AegisubUpdateDescription GetLatestVersion() {
throw boost::system::system_error{ec};
std::string line;
std::ostringstream sbody;
sbody << res.body().data();
std::stringstream body(sbody.str());
std::stringstream body(res.body().data());
std::getline(body, line, '\n');