From 10537c5095258b88cdc13beac06577b335bbf6ee Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 1 Jan 2018 19:06:17 +0100 Subject: [PATCH] test/run_filter: use "auto" --- test/run_filter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(prepared_filter->Open(audio_format)); + auto filter = prepared_filter->Open(audio_format); const AudioFormat out_audio_format = filter->GetOutAudioFormat();