build fix for older Boost.JSON versions (2/2)
This commit is contained in:
		
							parent
							
								
									13fa4331fb
								
							
						
					
					
						commit
						09d79228a0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1087,7 +1087,7 @@ bool SnapmaticPicture::setJsonStr(const QString &json, bool updateProperties) | |||
| 
 | ||||
| bool SnapmaticPicture::setJsonStr(const std::string &json, bool updateProperties) | ||||
| { | ||||
|     std::error_code ec; | ||||
|     boost::json::error_code ec; | ||||
|     const boost::json::value t_jsonValue = boost::json::parse(json, ec); | ||||
|     if (ec) | ||||
|         return false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue