summaryrefslogtreecommitdiff
path: root/src/mbgl/util/ignore.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/ignore.hpp')
-rw-r--r--src/mbgl/util/ignore.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/util/ignore.hpp b/src/mbgl/util/ignore.hpp
index 955b1de2fa..577bcf4d91 100644
--- a/src/mbgl/util/ignore.hpp
+++ b/src/mbgl/util/ignore.hpp
@@ -19,5 +19,8 @@ template <class... Ts> void ignore(Ts&&...) {}
//
template <class T> void ignore(const std::initializer_list<T>&) {}
+// Handle the zero-argument case.
+inline void ignore(const std::initializer_list<int>&) {}
+
} // namespace util
} // namespace mbgl