summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2020-11-20 10:22:54 +0100
committerKonstantin Käfer <mail@kkaefer.com>2020-11-20 10:22:54 +0100
commit993ae88abe4caf2c867a53457e0e8b845b9e30f5 (patch)
tree7ad2de75a5fd971df8c68d281509a54aa40a59c0 /include
parentb8edc2399b9640498ccbbbb5b8f058c63d070933 (diff)
downloadqtlocation-mapboxgl-upstream/fix-clang-compile-errors.tar.gz
[build] fix compilation errors with new Clang/Xcodeupstream/fix-clang-compile-errors
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/indexed_tuple.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/indexed_tuple.hpp b/include/mbgl/util/indexed_tuple.hpp
index 99d73d1e19..fc22d1ee35 100644
--- a/include/mbgl/util/indexed_tuple.hpp
+++ b/include/mbgl/util/indexed_tuple.hpp
@@ -30,12 +30,12 @@ public:
template <class I>
auto& get() {
- return std::get<TypeIndex<I, Is...>::value, Ts...>(*this);
+ return std::get<TypeIndex<I, Is...>::value>(*this);
}
template <class I>
const auto& get() const {
- return std::get<TypeIndex<I, Is...>::value, Ts...>(*this);
+ return std::get<TypeIndex<I, Is...>::value>(*this);
}
template <class... Us>