projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor change to 'pbd/controllable.h'
[ardour.git]
/
libs
/
pbd
/
pbd
/
sequence_property.h
diff --git
a/libs/pbd/pbd/sequence_property.h
b/libs/pbd/pbd/sequence_property.h
index 63263819ca384ba73b6881813c188a2efc80e000..e105e82e47c01ba7c61529ff024f892a82661e0d 100644
(file)
--- a/
libs/pbd/pbd/sequence_property.h
+++ b/
libs/pbd/pbd/sequence_property.h
@@
-27,6
+27,7
@@
#include <boost/function.hpp>
#include <boost/function.hpp>
+#include "pbd/libpbd_visibility.h"
#include "pbd/convert.h"
#include "pbd/id.h"
#include "pbd/property_basics.h"
#include "pbd/convert.h"
#include "pbd/id.h"
#include "pbd/property_basics.h"
@@
-43,7
+44,7
@@
namespace PBD {
* any change.
*/
template<typename Container>
* any change.
*/
template<typename Container>
-class SequenceProperty : public PropertyBase
+class
/*LIBPBD_API*/
SequenceProperty : public PropertyBase
{
public:
typedef std::set<typename Container::value_type> ChangeContainer;
{
public:
typedef std::set<typename Container::value_type> ChangeContainer;
@@
-310,10
+311,10
@@
class SequenceProperty : public PropertyBase
}
Container& operator= (const Container& other) {
}
Container& operator= (const Container& other) {
- for (typename Container::iterator i = _val.begin(); i != _val.end(); ++i) {
+ for (typename Container::
const_
iterator i = _val.begin(); i != _val.end(); ++i) {
_changes.remove (*i);
}
_changes.remove (*i);
}
- for (typename Container::iterator i = other.begin(); i != other.end(); ++i) {
+ for (typename Container::
const_
iterator i = other.begin(); i != other.end(); ++i) {
_changes.add (*i);
}
return _val = other;
_changes.add (*i);
}
return _val = other;