Skip to content

Commit

Permalink
Vector tile test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilsnd committed Jun 6, 2024
1 parent 99cf7cb commit 5fc3b79
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions test/include/mbgl/test/vector_tile_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@ class VectorTileTest {

TaggedScheduler threadPool;

TileParameters tileParameters{1.0,
MapDebugOptions(),
transformState,
fileSource,
MapMode::Continuous,
annotationManager.makeWeakPtr(),
imageManager,
glyphManager,
0};
TileParameters tileParameters;

VectorTileTest()
: threadPool(Scheduler::GetBackground(), this) {}
: threadPool(Scheduler::GetBackground(), this),
tileParameters{1.0,
MapDebugOptions(),
transformState,
fileSource,
MapMode::Continuous,
annotationManager.makeWeakPtr(),
imageManager,
glyphManager,
0,
threadPool} {}

~VectorTileTest() {
// Ensure that deferred releases are complete before cleaning up
Expand Down

0 comments on commit 5fc3b79

Please sign in to comment.