Use boost::system::error_code for boost 1.85.0

This commit is contained in:
Dan Paulat 2024-05-03 18:13:40 -05:00
parent 9577b215bd
commit 117bdc796c
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ UpdateManager::Impl::GetVersionString(const std::string& releaseName)
boost::json::value UpdateManager::Impl::ParseResponseText(const std::string& s)
{
boost::json::stream_parser p;
boost::json::error_code ec;
boost::system::error_code ec;
p.write(s, ec);
if (ec)

View file

@ -83,7 +83,7 @@ static boost::json::value ReadJsonStream(std::istream& is)
std::string line;
boost::json::stream_parser p;
boost::json::error_code ec;
boost::system::error_code ec;
while (std::getline(is, line))
{