diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-04-11 17:05:51 +0300 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-14 12:33:13 -0700 |
commit | 8877452ec36d01a753221998f31b67700e595d54 (patch) | |
tree | b58b31227e24221f685ea46f3057daf3c48ff382 /src/mbgl/style | |
parent | 04a3a7383a0ced32b852a28337de56479a8af26a (diff) | |
download | qtlocation-mapboxgl-8877452ec36d01a753221998f31b67700e595d54.tar.gz |
[core] TransitionOptions s/operator bool/isDefined/
Diffstat (limited to 'src/mbgl/style')
-rw-r--r-- | src/mbgl/style/paint_property.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp index 6fe53de573..623acef804 100644 --- a/src/mbgl/style/paint_property.hpp +++ b/src/mbgl/style/paint_property.hpp @@ -35,7 +35,7 @@ public: : begin(now + transition.delay.value_or(Duration::zero())), end(begin + transition.duration.value_or(Duration::zero())), value(std::move(value_)) { - if (transition) { + if (transition.isDefined()) { prior = { std::move(prior_) }; } } |