Fix the C++ build

Remove the Optional from the evaluation context passing for property
evaluation. Unfortunately there are nullptr uses left on the C++ side,
that need to be replaced with passing through.
This commit is contained in:
Simon Hausmann 2020-05-28 12:07:11 +02:00
parent 4f9c53879b
commit f2df9293a9
10 changed files with 42 additions and 50 deletions

View file

@ -20,9 +20,9 @@ struct Property
void set(const T &value) const { this->value = value; }
const T &get() const
const T &get(internal::EvaluationContext *context) const
{
internal::sixtyfps_property_update(&inner, &value);
internal::sixtyfps_property_update(&inner, context, &value);
return value;
}