diff --git a/include/openspace/properties/templateproperty.inl b/include/openspace/properties/templateproperty.inl index 2b57f5b099..2b68100a91 100644 --- a/include/openspace/properties/templateproperty.inl +++ b/include/openspace/properties/templateproperty.inl @@ -163,6 +163,11 @@ void openspace::properties::TemplateProperty::setValue(T val) } } +template +std::ostream& operator<<(std::ostream& os, const TemplateProperty& obj) { + os << obj.value(); + return os; +} template boost::any TemplateProperty::get() const {