summaryrefslogtreecommitdiff
path: root/test/style/conversion/function.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/style/conversion/function.test.cpp')
-rw-r--r--test/style/conversion/function.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/conversion/function.test.cpp b/test/style/conversion/function.test.cpp
index 1bddc691f7..10683458ed 100644
--- a/test/style/conversion/function.test.cpp
+++ b/test/style/conversion/function.test.cpp
@@ -59,7 +59,7 @@ TEST(StyleConversion, CompositeFunctionExpression) {
auto parseFunction = [&](const std::string& src) {
JSDocument doc;
doc.Parse<0>(src);
- return convert<DataDrivenPropertyValue<float>, JSValue>(doc, error);
+ return convert<DataDrivenPropertyValue<float>>(doc, error);
};
auto fn1 = parseFunction(R"({"expression": ["curve", ["linear"], ["zoom"], 0, ["number", ["get", "x"]], 10, 10]})");