Add a string pool pointer to the feature; stop passing it as an arg

This commit is contained in:
Erica Fischer
2023-02-09 13:47:00 -08:00
parent 80cd39d996
commit 9cd3cdf9da
3 changed files with 52 additions and 47 deletions
+1
View File
@@ -70,6 +70,7 @@ struct serial_feature {
std::vector<serial_val> full_values{};
std::string layername = "";
bool dropped = false;
const char *stringpool; // the pool for this segment, where its keys and values are stored
};
void serialize_feature(FILE *geomfile, serial_feature *sf, std::atomic<long long> *geompos, const char *fname, long long wx, long long wy, bool include_minzoom);