diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map_options.hpp | 3 | ||||
-rw-r--r-- | include/mbgl/storage/resource_options.hpp | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/mbgl/map/map_options.hpp b/include/mbgl/map/map_options.hpp index b5dc2930c9..617a2d793a 100644 --- a/include/mbgl/map/map_options.hpp +++ b/include/mbgl/map/map_options.hpp @@ -17,8 +17,7 @@ public: MapOptions(); ~MapOptions(); - MapOptions(MapOptions&&); - explicit MapOptions(const MapOptions&); + MapOptions(MapOptions&&) noexcept; /** * @brief Sets the map rendering mode. By default, it is set to Continuous diff --git a/include/mbgl/storage/resource_options.hpp b/include/mbgl/storage/resource_options.hpp index e8a56920e0..6d603b8cca 100644 --- a/include/mbgl/storage/resource_options.hpp +++ b/include/mbgl/storage/resource_options.hpp @@ -16,8 +16,9 @@ public: ResourceOptions(); ~ResourceOptions(); - ResourceOptions(ResourceOptions&&); - explicit ResourceOptions(const ResourceOptions&); + ResourceOptions(ResourceOptions&&) noexcept; + + ResourceOptions clone() const; /** * @brief Sets the Mapbox access token - see https://docs.mapbox.com/help/how-mapbox-works/access-tokens/ for details. @@ -112,6 +113,8 @@ public: void* platformContext() const; private: + ResourceOptions(const ResourceOptions&); + class Impl; std::unique_ptr<Impl> impl_; }; |