diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-03-29 10:02:10 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-31 17:35:47 +0200 |
commit | 53909b3a74e9c752d3405fda7bc63146b9abdc7a (patch) | |
tree | 9f95c3666b5209021cb4d5a076693e1290a56be6 /drumgizmo/output/wavfile.cc | |
parent | 9a61e61db6d811c32a25beec8c34e790170662e0 (diff) |
pass channels to output engine by const ref
Diffstat (limited to 'drumgizmo/output/wavfile.cc')
-rw-r--r-- | drumgizmo/output/wavfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/output/wavfile.cc b/drumgizmo/output/wavfile.cc index e81fb2d..78f7899 100644 --- a/drumgizmo/output/wavfile.cc +++ b/drumgizmo/output/wavfile.cc @@ -50,7 +50,7 @@ WavfileOutputEngine::~WavfileOutputEngine() } } -bool WavfileOutputEngine::init(Channels data) +bool WavfileOutputEngine::init(const Channels& data) { channels.clear(); channels.resize(data.size()); // value-initialized with null |