13
0

libpbd: add operator<< for PropertyChange

This commit is contained in:
Paul Davis 2023-08-22 09:48:17 -06:00
parent 1ea104eac1
commit f65e0b85a8
2 changed files with 10 additions and 0 deletions

View File

@ -173,4 +173,8 @@ private:
} }
namespace std {
ostream& operator<< (std::ostream& os, PBD::PropertyChange const & pc);
}
#endif /* __libpbd_property_basics_h__ */ #endif /* __libpbd_property_basics_h__ */

View File

@ -89,3 +89,9 @@ OwnedPropertyList::add (PropertyBase& p)
} }
std::ostream&
std::operator<< (std::ostream& os, PropertyChange const & pc)
{
pc.dump (os);
return os;
}