summaryrefslogtreecommitdiff
path: root/src/instrument.h
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.h
parent3846acf047ff9a37d0cb7bedf7fb7faa46473111 (diff)
Instrument holds AudioFile via unique_ptr
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instrument.h b/src/instrument.h
index ee67b3f..e61d446 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -56,7 +56,7 @@ public:
// std::map<std::string, std::string> channelmap;
- std::vector<AudioFile*> audiofiles;
+ std::vector<std::unique_ptr<AudioFile>> audiofiles;
bool isValid() const;