diff options
Diffstat (limited to 'libs/ardour/ardour/export_channel.h')
-rw-r--r-- | libs/ardour/ardour/export_channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_channel.h b/libs/ardour/ardour/export_channel.h index c13580e25c..a10bdfc290 100644 --- a/libs/ardour/ardour/export_channel.h +++ b/libs/ardour/ardour/export_channel.h @@ -65,7 +65,7 @@ class ExportChannel : public boost::less_than_comparable<ExportChannel> class PortExportChannel : public ExportChannel { public: - typedef std::set<AudioPort *> PortSet; + typedef std::set<boost::weak_ptr<AudioPort> > PortSet; PortExportChannel (); void set_max_buffer_size(framecnt_t frames); @@ -78,7 +78,7 @@ class PortExportChannel : public ExportChannel bool operator< (ExportChannel const & other) const; - void add_port (AudioPort * port) { ports.insert (port); } + void add_port (boost::weak_ptr<AudioPort> port) { ports.insert (port); } PortSet const & get_ports () { return ports; } private: |