diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 04:45:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 04:45:49 +0000 |
commit | fee370943854ff99aba1794382b6700b9feeb751 (patch) | |
tree | a374ba10624b1db054b9765e2bbd6e85ba9e7cc6 /libs/ardour/speakers.cc | |
parent | 70d246fbe30d24197781384fa4825f32fb0f4235 (diff) |
preparations for a working speaker editing dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@8878 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/speakers.cc')
-rw-r--r-- | libs/ardour/speakers.cc | 14 |
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) { |