Merge pull request #14642 from SuperSamus/cpp-move-fixup-nocubeb

Fixup #14565 (compilation with `-DENABLE_CUBEB=OFF`)
This commit is contained in:
Jordan Woyak 2026-05-05 11:45:55 -05:00 committed by GitHub
commit b0eb643c61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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