diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b34f661..ae5f7a36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.31.3 + +* Fix the missing filename in JSON parsing warning messages + ## 1.31.2 * Don't accept anything inside another JSON object's properties as a diff --git a/geojson.cpp b/geojson.cpp index cfee8401..62222196 100644 --- a/geojson.cpp +++ b/geojson.cpp @@ -252,6 +252,7 @@ struct json_serialize_action : json_feature_action { void parse_json(struct serialization_state *sst, json_pull *jp, int layer, std::string layername) { json_serialize_action jsa; + jsa.fname = sst->fname; jsa.sst = sst; jsa.layer = layer; jsa.layername = layername; diff --git a/version.hpp b/version.hpp index c26198ae..7791c47b 100644 --- a/version.hpp +++ b/version.hpp @@ -1,6 +1,6 @@ #ifndef VERSION_HPP #define VERSION_HPP -#define VERSION "v1.31.2" +#define VERSION "v1.31.3" #endif