From 27931fd36ed320e4228cd63ec5ccd65c666e0065 Mon Sep 17 00:00:00 2001 From: woodybury Date: Thu, 10 Sep 2026 10:12:08 -0400 Subject: [PATCH] [BUGFIX] Qualify LanczosResampler alias so GCC accepts ResamplingContainer.h --- dsp/ResamplingContainer/ResamplingContainer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dsp/ResamplingContainer/ResamplingContainer.h b/dsp/ResamplingContainer/ResamplingContainer.h index 3099e42..c8fec56 100644 --- a/dsp/ResamplingContainer/ResamplingContainer.h +++ b/dsp/ResamplingContainer/ResamplingContainer.h @@ -86,7 +86,9 @@ class ResamplingContainer { public: using BlockProcessFunc = std::function; - using LanczosResampler = LanczosResampler; + // Qualify the name on the right-hand side so that this alias doesn't change the meaning of the unqualified name + // `LanczosResampler` within this class' scope ([basic.scope.class]); GCC rejects the unqualified version. + using LanczosResampler = dsp::LanczosResampler; // :param renderingSampleRate: The sample rate required by the code to be encapsulated. ResamplingContainer(double renderingSampleRate)