summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/sources/custom_geometry_source.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/style/sources/custom_geometry_source.hpp b/include/mbgl/style/sources/custom_geometry_source.hpp
index 853526ac2d..a0b990b44b 100644
--- a/include/mbgl/style/sources/custom_geometry_source.hpp
+++ b/include/mbgl/style/sources/custom_geometry_source.hpp
@@ -5,12 +5,13 @@
#include <mbgl/util/geojson.hpp>
#include <mbgl/util/range.hpp>
#include <mbgl/util/constants.hpp>
-#include <mbgl/actor/mailbox.hpp>
namespace mbgl {
class OverscaledTileID;
class CanonicalTileID;
+template <class T>
+class Actor;
namespace style {
@@ -43,8 +44,7 @@ public:
class Impl;
const Impl& impl() const;
private:
- std::shared_ptr<Mailbox> mailbox;
- std::unique_ptr<CustomTileLoader> loader;
+ std::unique_ptr<Actor<CustomTileLoader>> loader;
};
template <>