Skip to content

Commit

Permalink
Add threadPool to tile params in custom tile test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilsnd committed Jun 6, 2024
1 parent ad39e92 commit ace7cd1
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions test/tile/custom_geometry_tile.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ class CustomTileTest {
AnnotationManager annotationManager{style};
std::shared_ptr<ImageManager> imageManager = std::make_shared<ImageManager>();
std::shared_ptr<GlyphManager> glyphManager = std::make_shared<GlyphManager>();

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

CustomTileTest()
: tileParameters{1.0,
MapDebugOptions(),
transformState,
fileSource,
MapMode::Continuous,
annotationManager.makeWeakPtr(),
imageManager,
glyphManager,
0,
{Scheduler::GetBackground(), static_cast<const void*>(this)}} {}
};

TEST(CustomGeometryTile, InvokeFetchTile) {
Expand Down

0 comments on commit ace7cd1

Please sign in to comment.