diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-24 21:25:21 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-08-08 14:14:34 +0300 |
commit | 3952ff5c343844d76f75ede0afc8ddad55748a0d (patch) | |
tree | d19172ad104ba520f7f8d1d939a1690791606993 /include/mbgl/style/layer.hpp | |
parent | 990b3b11b9427ffd86f693d3f4c3dd351891e5d0 (diff) | |
download | qtlocation-mapboxgl-3952ff5c343844d76f75ede0afc8ddad55748a0d.tar.gz |
[core] Replace unique_any with peer from mapbox-bindgen
Diffstat (limited to 'include/mbgl/style/layer.hpp')
-rw-r--r-- | include/mbgl/style/layer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp index 12494f5387..b5a4b63d2e 100644 --- a/include/mbgl/style/layer.hpp +++ b/include/mbgl/style/layer.hpp @@ -1,7 +1,7 @@ #pragma once #include <mbgl/util/noncopyable.hpp> -#include <mbgl/util/unique_any.hpp> +#include <mbgl/util/peer.hpp> #include <mbgl/util/immutable.hpp> #include <mbgl/style/layer_type.hpp> #include <mbgl/style/types.hpp> @@ -132,7 +132,7 @@ public: // For use in SDK bindings, which store a reference to a platform-native peer // object here, so that separately-obtained references to this object share // identical platform-native peers. - util::unique_any peer; + util::peer peer; }; } // namespace style |