Skip to content

Commit 99bcd45

Browse files
committed
Setting update policy to OnChange within the constructor
1 parent 779b5da commit 99bcd45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/property/Property.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Property::Property()
3636
, _get_time_func{nullptr}
3737
, _update_callback_func{nullptr}
3838
, _sync_callback_func{nullptr}
39+
, _update_policy{UpdatePolicy::OnChange}
3940
, _has_been_updated_once{false}
4041
, _has_been_modified_in_callback{false}
4142
, _last_updated_millis{0}

0 commit comments

Comments
 (0)