File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -951,7 +951,7 @@ class Element {
951951
952952 // Find the property
953953 std::unique_ptr<Property>& prop = getPropertyPtr (propertyName);
954- TypedProperty<T>* castedProp = dynamic_cast <TypedProperty<T>*>(prop);
954+ TypedProperty<T>* castedProp = dynamic_cast <TypedProperty<T>*>(prop. get () );
955955 if (castedProp) {
956956 return castedProp->data ;
957957 }
@@ -994,7 +994,7 @@ class Element {
994994
995995 // Find the property
996996 std::unique_ptr<Property>& prop = getPropertyPtr (propertyName);
997- TypedListProperty<T>* castedProp = dynamic_cast <TypedListProperty<T>*>(prop);
997+ TypedListProperty<T>* castedProp = dynamic_cast <TypedListProperty<T>*>(prop. get () );
998998 if (castedProp) {
999999 return unflattenList (castedProp->flattenedData , castedProp->flattenedIndexStart );
10001000 }
You can’t perform that action at this time.
0 commit comments