Fixup #14565 (compilation with -DENABLE_CUBEB=OFF)

This commit is contained in:
Martino Fontana
2026-05-05 13:50:05 +02:00
parent eb44b64c9e
commit 3c06541718
@@ -36,8 +36,7 @@ Microphone::Microphone(const MicrophoneState& sampler, std::string worker_name)
{
}
#else
Microphone::Microphone(MicrophoneState sampler, std::string worker_name)
: m_sampler(std::move(sampler))
Microphone::Microphone(const MicrophoneState& sampler, std::string worker_name) : m_sampler(sampler)
{
}
#endif