From 0a3e4ad56137bd4b7c1067aa6597b53c3e5d6a18 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Thu, 16 Aug 2018 13:37:33 -0700 Subject: [PATCH] Fix missing filename in warning messages --- CHANGELOG.md | 4 ++++ geojson.cpp | 1 + version.hpp | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) 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