diff options
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 10 |
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 (); |