build fix for older Boost.JSON versions (2/2)

This commit is contained in:
Syping 2023-05-11 21:54:13 +02:00
parent 13fa4331fb
commit 09d79228a0

View file

@ -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;