Skip to content

Commit

Permalink
move population outside vector sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
cldellow committed Oct 5, 2024
1 parent 5003664 commit 2d56a7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tilemaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ int main(const int argc, const char* argv[]) {
std::numeric_limits<size_t>::min()
});
}
}

for (auto& input : inputs) {
// Determine which tiles exist in this mbtiles file.
//
// This lets us optimize the case where only a single mbtiles has
Expand All @@ -111,6 +113,7 @@ int main(const int argc, const char* argv[]) {
}

std::vector<Input*> matching;

for (int zoom = 0; zoom < 15; zoom++) {
Bbox bbox = inputs[0]->bbox[zoom];
for (const auto& input : inputs) {
Expand Down

0 comments on commit 2d56a7e

Please sign in to comment.