From cd5eae3556fae7634c2638969bef48dee86e1449 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 9 Apr 2020 14:00:59 -0600 Subject: some potentially helpful but trivial comments --- libs/ardour/ardour/bundle.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour') diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h index 88f095dd33..cf035133ea 100644 --- a/libs/ardour/ardour/bundle.h +++ b/libs/ardour/ardour/bundle.h @@ -52,8 +52,11 @@ class LIBARDOUR_API Bundle : public PBD::ScopedConnectionList typedef std::vector PortList; struct Channel { + /* Constructor with no port name(s) */ Channel (std::string n, DataType t) : name (n), type (t) {} + /* Constructor with list of port names */ Channel (std::string n, DataType t, PortList p) : name (n), type (t), ports (p) {} + /* Constructor with a port name */ Channel (std::string n, DataType t, std::string const & p) : name (n), type (t) { ports.push_back (p); } -- cgit v1.2.3