mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Use a proper constructor, discover two unused fields
This commit is contained in:
+8
-6
@@ -10,13 +10,15 @@
|
||||
#include "serial.hpp"
|
||||
|
||||
struct parse_json_args {
|
||||
json_pull *jp = NULL;
|
||||
int layer = 0;
|
||||
std::string *layername = NULL;
|
||||
std::map<std::string, int> const *attribute_types = NULL;
|
||||
bool want_dist = false;
|
||||
json_pull *jp;
|
||||
int layer;
|
||||
std::string *layername;
|
||||
|
||||
struct serialization_state *sst = NULL;
|
||||
struct serialization_state *sst;
|
||||
|
||||
parse_json_args(json_pull *jp1, int layer1, std::string *layername1, struct serialization_state *sst1)
|
||||
: jp(jp1), layer(layer1), layername(layername1), sst(sst1) {
|
||||
}
|
||||
};
|
||||
|
||||
struct json_pull *json_begin_map(char *map, long long len);
|
||||
|
||||
Reference in New Issue
Block a user