diff --git a/libs/pbd/pbd/property_basics.h b/libs/pbd/pbd/property_basics.h index d0eb1db922..a6af84e2e7 100644 --- a/libs/pbd/pbd/property_basics.h +++ b/libs/pbd/pbd/property_basics.h @@ -38,7 +38,7 @@ class LIBPBD_API StatefulDiffCommand; typedef GQuark PropertyID; template -struct /*LIBPBD_API*/ PropertyDescriptor { +struct LIBPBD_API PropertyDescriptor { PropertyDescriptor () : property_id (0) {} PropertyDescriptor (PropertyID pid) : property_id (pid) {} @@ -47,17 +47,17 @@ struct /*LIBPBD_API*/ PropertyDescriptor { }; /** A list of IDs of Properties that have changed in some situation or other */ -class /*LIBPBD_API*/ PropertyChange : public std::set +class LIBPBD_API PropertyChange : public std::set { public: - LIBPBD_API PropertyChange() {} - LIBPBD_API ~PropertyChange() {} + PropertyChange() {} + ~PropertyChange() {} template PropertyChange(PropertyDescriptor p); - LIBPBD_API PropertyChange(const PropertyChange& other) : std::set (other) {} + PropertyChange(const PropertyChange& other) : std::set (other) {} - LIBPBD_API PropertyChange operator=(const PropertyChange& other) { + PropertyChange operator=(const PropertyChange& other) { clear (); insert (other.begin (), other.end ()); return *this; @@ -66,7 +66,7 @@ public: template PropertyChange operator=(PropertyDescriptor p); template bool contains (PropertyDescriptor p) const; - LIBPBD_API bool contains (const PropertyChange& other) const { + bool contains (const PropertyChange& other) const { for (const_iterator x = other.begin (); x != other.end (); ++x) { if (find (*x) != end ()) { return true; @@ -75,8 +75,8 @@ public: return false; } - LIBPBD_API void add (PropertyID id) { insert (id); } - LIBPBD_API void add (const PropertyChange& other) { insert (other.begin (), other.end ()); } + void add (PropertyID id) { insert (id); } + void add (const PropertyChange& other) { insert (other.begin (), other.end ()); } template void add (PropertyDescriptor p); };