mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 00:45:41 +02:00
Make the string_value of mvt_value std::optional
This commit is contained in:
+1
-1
@@ -339,7 +339,7 @@ void layer_to_geojson(mvt_layer const &layer, unsigned z, unsigned x, unsigned y
|
||||
switch (val.type) {
|
||||
case mvt_string:
|
||||
state.json_write_string(key);
|
||||
state.json_write_string(val.string_value);
|
||||
state.json_write_string(*(val.string_value));
|
||||
break;
|
||||
case mvt_int:
|
||||
state.json_write_string(key);
|
||||
|
||||
Reference in New Issue
Block a user