summaryrefslogtreecommitdiff
path: root/test/style/properties.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/style/properties.test.cpp')
-rw-r--r--test/style/properties.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/properties.test.cpp b/test/style/properties.test.cpp
index 4d63f7e671..ef064ccba2 100644
--- a/test/style/properties.test.cpp
+++ b/test/style/properties.test.cpp
@@ -123,10 +123,10 @@ TEST(TransitioningDataDrivenPropertyValue, Evaluate) {
};
using namespace mbgl::style::expression::dsl;
- SourceFunction<float> sourceFunction(number(get("property_name")));
+ PropertyExpression<float> expression(number(get("property_name")));
Transitioning<DataDrivenPropertyValue<float>> t1 {
- DataDrivenPropertyValue<float>(sourceFunction),
+ DataDrivenPropertyValue<float>(expression),
t0,
transition,
TimePoint::min()