diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/pbd/pbd/sequence_property.h | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/pbd/pbd/sequence_property.h')
-rw-r--r-- | libs/pbd/pbd/sequence_property.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/pbd/pbd/sequence_property.h b/libs/pbd/pbd/sequence_property.h index 5ab938b257..4069340e42 100644 --- a/libs/pbd/pbd/sequence_property.h +++ b/libs/pbd/pbd/sequence_property.h @@ -132,7 +132,7 @@ class /*LIBPBD_API*/ SequenceProperty : public PropertyBase bool changed () const { return !_changes.added.empty() || !_changes.removed.empty(); } - + void clear_changes () { _changes.added.clear (); _changes.removed.clear (); @@ -158,12 +158,12 @@ class /*LIBPBD_API*/ SequenceProperty : public PropertyBase if (!changed ()) { return; } - + /* Create a property with just the changes and not the actual values */ SequenceProperty<Container>* a = create (); a->_changes = _changes; changes.add (a); - + if (cmd) { /* whenever one of the items emits DropReferences, make sure that the Destructible we've been told to notify hears about @@ -182,7 +182,7 @@ class /*LIBPBD_API*/ SequenceProperty : public PropertyBase XMLNodeList const children = node.children (); /* find the node for this property name */ - + std::string const c = capitalize (property_name ()); XMLNodeList::const_iterator i = children.begin(); while (i != children.end() && (*i)->name() != c) { @@ -194,7 +194,7 @@ class /*LIBPBD_API*/ SequenceProperty : public PropertyBase } /* create a property with the changes */ - + SequenceProperty<Container>* p = create (); XMLNodeList const & grandchildren = (*i)->children (); @@ -301,7 +301,7 @@ class /*LIBPBD_API*/ SequenceProperty : public PropertyBase } _val.clear (); } - + typename Container::size_type size() const { return _val.size(); } @@ -355,12 +355,12 @@ protected: , _changes (p._changes) , _update_callback (p._update_callback) {} - + Container _val; ///< our actual container of things ChangeRecord _changes; ///< changes to the container (adds/removes) that have happened since clear_changes() was last called boost::function<void(const ChangeRecord&)> _update_callback; -private: +private: virtual SequenceProperty<Container>* create () const = 0; }; |