Fix missing filename in warning messages

This commit is contained in:
Eric Fischer
2018-08-16 13:46:37 -07:00
parent 1ef2005f04
commit 0a3e4ad561
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -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;