Fix where I was closing the prefilter pipe in the wrong thread

This commit is contained in:
Eric Fischer
2016-12-09 14:15:17 -08:00
parent c8a8915064
commit a338f5390f
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -24,9 +24,9 @@ struct lonlat {
}
};
void layer_to_geojson(FILE *fp, mvt_layer &layer, unsigned z, unsigned x, unsigned y, bool comma, bool name) {
void layer_to_geojson(FILE *fp, mvt_layer const &layer, unsigned z, unsigned x, unsigned y, bool comma, bool name) {
for (size_t f = 0; f < layer.features.size(); f++) {
mvt_feature &feat = layer.features[f];
mvt_feature const &feat = layer.features[f];
if (comma && f != 0) {
fprintf(fp, ",\n");