typeid() doesn't seem to downcast, so just check types in the take_settings_from...
[dcpomatic.git] / src / lib / content.cc
index 7b1e630a6610b92db3ec373b67f15d106db070a6..f2380653f661d54131e50194f42522742f07a562 100644 (file)
@@ -420,6 +420,7 @@ Content::add_properties (list<UserProperty>& p) const
        }
 }
 
+/** Take settings from the given content if it is of the correct type */
 void
 Content::take_settings_from (shared_ptr<const Content> c)
 {