diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-11 12:06:41 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-20 13:01:59 +0300 |
commit | 2f8fce7bdb0a60a1fb94a3f5bb9f35adf8795094 (patch) | |
tree | 352d873fb40ee447a098e70cbdf77c4976e7e3e6 /include | |
parent | 05ae0b5dfd6ea81f357360dc893aa1a78e02926a (diff) | |
download | qtlocation-mapboxgl-2f8fce7bdb0a60a1fb94a3f5bb9f35adf8795094.tar.gz |
[core] Cleaned up TransitionOptions
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/transition_options.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/mbgl/style/transition_options.hpp b/include/mbgl/style/transition_options.hpp index 5803fe05c9..d7a6633f0c 100644 --- a/include/mbgl/style/transition_options.hpp +++ b/include/mbgl/style/transition_options.hpp @@ -6,13 +6,9 @@ namespace mbgl { namespace style { -class TransitionOptions { -public: - TransitionOptions(optional<Duration> duration_ = {}, optional<Duration> delay_ = {}) - : duration(std::move(duration_)), delay(std::move(delay_)) {} - - optional<Duration> duration; - optional<Duration> delay; +struct TransitionOptions { + optional<Duration> duration = {}; + optional<Duration> delay = {}; }; } // namespace style |