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();