summaryrefslogtreecommitdiff
path: root/src/drumkitloader.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/drumkitloader.cc
parent3846acf047ff9a37d0cb7bedf7fb7faa46473111 (diff)
Instrument holds AudioFile via unique_ptr
Diffstat (limited to 'src/drumkitloader.cc')
-rw-r--r--src/drumkitloader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc
index f2ef61a..7eab562 100644
--- a/src/drumkitloader.cc
+++ b/src/drumkitloader.cc
@@ -143,7 +143,7 @@ void DrumKitLoader::loadKit(DrumKit *kit)
{
for(auto& audiofile: instr_ptr->audiofiles)
{
- load_queue.push_back(audiofile);
+ load_queue.push_back(audiofile.get());
}
}