diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-10-31 16:27:49 -0700 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-11-22 13:56:38 -0800 |
commit | ba63d06cfc09b016ce0ddfcaaa297bd259cadf09 (patch) | |
tree | ad1755da7c70b3322ced1dc1c8ff905f599a0962 /include | |
parent | 934fa4933cf694cd835780b898b0ef0e51a74020 (diff) | |
download | qtlocation-mapboxgl-ba63d06cfc09b016ce0ddfcaaa297bd259cadf09.tar.gz |
[core] Use Actors for CustomTileLoader invocation from bindings.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/sources/custom_geometry_source.hpp | 6 |
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 <> |