mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 08:51:26 -06:00
Enable operator<< overloading for TemplateProperties
This commit is contained in:
@@ -163,6 +163,11 @@ void openspace::properties::TemplateProperty<T>::setValue(T val)
|
||||
}
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
std::ostream& operator<<(std::ostream& os, const TemplateProperty<T>& obj) {
|
||||
os << obj.value();
|
||||
return os;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
boost::any TemplateProperty<T>::get() const {
|
||||
|
||||
Reference in New Issue
Block a user