summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-05-05 11:45:55 -0500
committerGitHub <noreply@github.com>2026-05-05 11:45:55 -0500
commitb0eb643c614ddeda6400dc4033d58934a20ba5eb (patch)
treec19488f6ddb1e2d0ce8685c1cab09d7b4a8d502f
parente22551eae1c84a7e4d0b6a5c519ef4ed4ef69df1 (diff)
parent3c065417188ed6e3278e9eac2945cbe6a1731b6d (diff)
Merge pull request #14642 from SuperSamus/cpp-move-fixup-nocubeb
Fixup #14565 (compilation with `-DENABLE_CUBEB=OFF`)
-rw-r--r--Source/Core/Core/IOS/USB/Emulated/Microphone.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Core/IOS/USB/Emulated/Microphone.cpp b/Source/Core/Core/IOS/USB/Emulated/Microphone.cpp
index 4a21c76596..db261eb076 100644
--- a/Source/Core/Core/IOS/USB/Emulated/Microphone.cpp
+++ b/Source/Core/Core/IOS/USB/Emulated/Microphone.cpp
@@ -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