diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-05-09 11:09:06 +0200 |
---|---|---|
committer | Christian Glöckner <cgloeckner@freenet.de> | 2016-05-26 17:52:21 +0200 |
commit | 52b37cac974eb150d49eee1f0b5ba3654f6d7716 (patch) | |
tree | 353daa0524c2f918caeac17b704b016e651af6e2 /src/drumkit.cc | |
parent | 355f9e4e2ebace6cce52a277cbaf1d1bfc904d61 (diff) |
Instrument Vector using UniquePtr
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r-- | src/drumkit.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/drumkit.cc b/src/drumkit.cc index f25a6ea..1dadf04 100644 --- a/src/drumkit.cc +++ b/src/drumkit.cc @@ -39,11 +39,6 @@ DrumKit::~DrumKit() void DrumKit::clear() { - for(auto& instrument : instruments) - { - delete instrument; - } - instruments.clear(); channels.clear(); |