From 021d4199cb9ee754e9f0f5bc42f7f75285afd405 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 23 Jun 2016 12:00:25 -0700 Subject: [core, node] Implement bindings for addSource --- include/mbgl/style/conversion.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mbgl/style/conversion.hpp') 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 struct Converter; -template -Result convert(const V& value) { - return Converter()(value); +template +Result convert(const V& value, Args&&...args) { + return Converter()(value, std::forward(args)...); } } // namespace conversion -- cgit v1.2.1