diff --git a/3party/jansson/myjansson.hpp b/3party/jansson/myjansson.hpp index abbf8d5825..0a4565cc11 100644 --- a/3party/jansson/myjansson.hpp +++ b/3party/jansson/myjansson.hpp @@ -290,7 +290,7 @@ void ToJSONObject(json_t & root, std::string const & field, std::vector const template void FromJSONObjectOptionalField(json_t * root, std::string const & field, std::vector & result) { - FromJSONObjectOptionalField(const_cast(root), field, result); + FromJSONObjectOptionalField(const_cast(root), field, result); } template