aboutsummaryrefslogtreecommitdiffstats
path: root/core/bformatdec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/bformatdec.cpp')
-rw-r--r--core/bformatdec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bformatdec.cpp b/core/bformatdec.cpp
index e3f8eaef..ed00566e 100644
--- a/core/bformatdec.cpp
+++ b/core/bformatdec.cpp
@@ -193,6 +193,6 @@ std::unique_ptr<BFormatDec> BFormatDec::Create(const size_t inchans,
const al::span<const ChannelDec> coeffs, const al::span<const ChannelDec> coeffslf,
const float xover_f0norm, std::unique_ptr<FrontStablizer> stablizer)
{
- return std::unique_ptr<BFormatDec>{new(FamCount(inchans))
- BFormatDec{inchans, coeffs, coeffslf, xover_f0norm, std::move(stablizer)}};
+ return std::make_unique<BFormatDec>(inchans, coeffs, coeffslf, xover_f0norm,
+ std::move(stablizer));
}