From f5f19d0eb0deefd64d2107eb081e4035ad1a747c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 29 Jun 2015 17:51:52 -0700 Subject: External synchronization for AnnotationManager --- src/mbgl/map/source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl/map/source.cpp') diff --git a/src/mbgl/map/source.cpp b/src/mbgl/map/source.cpp index f596296fc3..58f3924ecd 100644 --- a/src/mbgl/map/source.cpp +++ b/src/mbgl/map/source.cpp @@ -300,7 +300,7 @@ TileData::State Source::addTile(MapData& data, new_tile.data = tileData; } else if (info.type == SourceType::Annotations) { new_tile.data = std::make_shared(normalized_id, - data.annotationManager.getTile(normalized_id), style, info, callback); + data.getAnnotationManager()->getTile(normalized_id), style, info, callback); } else { throw std::runtime_error("source type not implemented"); } -- cgit v1.2.1