+ if(type == Property::NONE)
+ {
+ /* Note, Property::Value() has an explicit constructor using Property::Type enum,
+ * which will generate a property value of that type. This constructor is used when
+ * using C++ initializer lists.
+ */
+ type = component.second.GetType();
+ }
+