mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 18:20:04 +00:00 
			
		
		
		
	Use boost::system::error_code for boost 1.85.0
This commit is contained in:
		
							parent
							
								
									9577b215bd
								
							
						
					
					
						commit
						117bdc796c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -73,7 +73,7 @@ UpdateManager::Impl::GetVersionString(const std::string& releaseName) | ||||||
| boost::json::value UpdateManager::Impl::ParseResponseText(const std::string& s) | boost::json::value UpdateManager::Impl::ParseResponseText(const std::string& s) | ||||||
| { | { | ||||||
|    boost::json::stream_parser p; |    boost::json::stream_parser p; | ||||||
|    boost::json::error_code    ec; |    boost::system::error_code  ec; | ||||||
| 
 | 
 | ||||||
|    p.write(s, ec); |    p.write(s, ec); | ||||||
|    if (ec) |    if (ec) | ||||||
|  |  | ||||||
|  | @ -83,7 +83,7 @@ static boost::json::value ReadJsonStream(std::istream& is) | ||||||
|    std::string line; |    std::string line; | ||||||
| 
 | 
 | ||||||
|    boost::json::stream_parser p; |    boost::json::stream_parser p; | ||||||
|    boost::json::error_code    ec; |    boost::system::error_code  ec; | ||||||
| 
 | 
 | ||||||
|    while (std::getline(is, line)) |    while (std::getline(is, line)) | ||||||
|    { |    { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat