diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-12-22 12:34:38 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-12-22 18:14:00 -0800 |
commit | 083cee8956e6aa89eefe93df6e5c286a1b6728b8 (patch) | |
tree | df3283ecadaf6c82b822f69c9c213a96b91febb2 /src | |
parent | 317b2bf42fc16b629abcd0a984d4acc14070904f (diff) | |
download | qtlocation-mapboxgl-083cee8956e6aa89eefe93df6e5c286a1b6728b8.tar.gz |
[core] Correct boolean function interpolation
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/util/interpolate.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/util/interpolate.hpp b/src/mbgl/util/interpolate.hpp index 958b185d5b..ef066377da 100644 --- a/src/mbgl/util/interpolate.hpp +++ b/src/mbgl/util/interpolate.hpp @@ -62,6 +62,10 @@ struct Uninterpolated { } }; +template <> +struct Interpolator<bool> + : Uninterpolated {}; + template <class T> struct Interpolator<T, typename std::enable_if_t<std::is_enum<T>::value>> : Uninterpolated {}; |