summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-05-27 09:25:32 +0200
committerChristian Glöckner <cgloeckner@freenet.de>2016-05-27 09:25:32 +0200
commit66bfac5a0ae1068908639dd0190433f5ab430473 (patch)
tree0f95d007c9bc06697cc6f2588a52717417e6611f /src/instrument.cc
parent3846acf047ff9a37d0cb7bedf7fb7faa46473111 (diff)
Instrument holds AudioFile via unique_ptr
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 9a4c0b7..8c78f40 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -47,12 +47,6 @@ Instrument::~Instrument()
magic = nullptr;
DEBUG(instrument, "delete %p\n", this);
- std::vector<AudioFile*>::iterator i = audiofiles.begin();
- while(i != audiofiles.end())
- {
- delete *i;
- i++;
- }
}
bool Instrument::isValid() const