summaryrefslogtreecommitdiff
path: root/libs/ardour/speakers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/speakers.cc')
-rw-r--r--libs/ardour/speakers.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/ardour/speakers.cc b/libs/ardour/speakers.cc
index 4229e77c65..1485f266d0 100644
--- a/libs/ardour/speakers.cc
+++ b/libs/ardour/speakers.cc
@@ -46,10 +46,24 @@ Speakers::Speakers ()
{
}
+Speakers::Speakers (const Speakers& s)
+{
+ _speakers = s._speakers;
+}
+
Speakers::~Speakers ()
{
}
+Speakers&
+Speakers::operator= (const Speakers& s)
+{
+ if (&s != this) {
+ _speakers = s._speakers;
+ }
+ return *this;
+}
+
void
Speakers::dump_speakers (ostream& o)
{