summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/playlist.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-17 03:49:32 +0000
committerDavid Robillard <d@drobilla.net>2009-02-17 03:49:32 +0000
commit3f24977735b06f9b39a82d66c216ba27e3a302d5 (patch)
treef8c436d7350da2a14546aa047cf9cfbe83ecceff /libs/ardour/ardour/playlist.h
parent4fced02c0b9805e7b25dd91bf871d2dfe7350393 (diff)
Make a bunch of stuff boost::noncopyable.
Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4613 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r--libs/ardour/ardour/playlist.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h
index d2920fb610..151d240b4c 100644
--- a/libs/ardour/ardour/playlist.h
+++ b/libs/ardour/ardour/playlist.h
@@ -26,6 +26,7 @@
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
+#include <boost/utility.hpp>
#include <sys/stat.h>
@@ -50,7 +51,9 @@ namespace ARDOUR {
class Session;
class Region;
-class Playlist : public SessionObject, public boost::enable_shared_from_this<Playlist> {
+class Playlist : public SessionObject,
+ public boost::noncopyable,
+ public boost::enable_shared_from_this<Playlist> {
public:
typedef list<boost::shared_ptr<Region> > RegionList;
@@ -217,11 +220,6 @@ class Playlist : public SessionObject, public boost::enable_shared_from_this<Pla
g_atomic_int_get (&ignore_state_changes) != 0;
}
- /* prevent the compiler from ever generating these */
-
- Playlist (const Playlist&);
- Playlist (Playlist&);
-
void delay_notifications ();
void release_notifications ();
virtual void flush_notifications ();