diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-08 20:57:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-08 20:57:03 +0000 |
| commit | d9825793692a41374b184f423994667b663d8526 (patch) | |
| tree | d1a4a1fd157ea55bbcbf47a6fa55b6c1679daf04 /src/lib/content.cc | |
| parent | 2a574403f57ff980ca5e627d389f30e91bff02c7 (diff) | |
typeid() doesn't seem to downcast, so just check types in the take_settings_from methods (#1192).
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 7b1e630a6..f2380653f 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -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) { |
