diff --git a/libs/pbd/pbd/property_basics.h b/libs/pbd/pbd/property_basics.h index e74f126b7d..3ca45e946e 100644 --- a/libs/pbd/pbd/property_basics.h +++ b/libs/pbd/pbd/property_basics.h @@ -173,4 +173,8 @@ private: } +namespace std { +ostream& operator<< (std::ostream& os, PBD::PropertyChange const & pc); +} + #endif /* __libpbd_property_basics_h__ */ diff --git a/libs/pbd/property_list.cc b/libs/pbd/property_list.cc index 6f5ad923f8..c614d155ac 100644 --- a/libs/pbd/property_list.cc +++ b/libs/pbd/property_list.cc @@ -89,3 +89,9 @@ OwnedPropertyList::add (PropertyBase& p) } +std::ostream& +std::operator<< (std::ostream& os, PropertyChange const & pc) +{ + pc.dump (os); + return os; +}