Skip to content

Commit

Permalink
Fix --coalesce
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Jan 30, 2025
1 parent e645121 commit 99f7ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2458,7 +2458,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
for (size_t x = 1; x < layer_features.size(); x++) {
size_t y = out - 1;

if (out > 0 && coalcmp(&layer_features[x], &layer_features[y]) == 0) {
if (out > 0 && coalcmp(&*layer_features[x], &*layer_features[y]) == 0) {
for (size_t g = 0; g < layer_features[x]->geometry.size(); g++) {
layer_features[y]->geometry.push_back(std::move(layer_features[x]->geometry[g]));
}
Expand Down

0 comments on commit 99f7ce1

Please sign in to comment.