summaryrefslogtreecommitdiff
path: root/include/mbgl/style/conversion.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/conversion.hpp')
-rw-r--r--include/mbgl/style/conversion.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/style/conversion.hpp b/include/mbgl/style/conversion.hpp
index 2cb3ced376..bd7db3adfb 100644
--- a/include/mbgl/style/conversion.hpp
+++ b/include/mbgl/style/conversion.hpp
@@ -83,9 +83,9 @@ public:
template <class T, class Enable = void>
struct Converter;
-template <class T, class V>
-Result<T> convert(const V& value) {
- return Converter<T>()(value);
+template <class T, class V, class...Args>
+Result<T> convert(const V& value, Args&&...args) {
+ return Converter<T>()(value, std::forward<Args>(args)...);
}
} // namespace conversion