summaryrefslogtreecommitdiff
path: root/test/run_filter.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-01 19:06:17 +0100
committerMax Kellermann <max@musicpd.org>2018-01-01 19:06:17 +0100
commit10537c5095258b88cdc13beac06577b335bbf6ee (patch)
tree18a76f12bac0a1f3b0931c9c4bef87541d5cc5a0 /test/run_filter.cxx
parent551ac56a333b1c82ca21eb811b4758d6be17133b (diff)
test/run_filter: use "auto"
Diffstat (limited to 'test/run_filter.cxx')
-rw-r--r--test/run_filter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_filter.cxx b/test/run_filter.cxx
index 2782ad7a1..9bd726565 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -91,7 +91,7 @@ try {
/* open the filter */
- std::unique_ptr<Filter> filter(prepared_filter->Open(audio_format));
+ auto filter = prepared_filter->Open(audio_format);
const AudioFormat out_audio_format = filter->GetOutAudioFormat();