summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-01 01:49:56 +0200
committerGitHub <noreply@github.com>2018-08-01 01:49:56 +0200
commitda07faebfecad42c1da2941f350f606130e6c4b9 (patch)
tree6bb937697401ea97e8836b8f672552bff3fde531
parentMerge pull request #864 from FearlessTobi/port-3973 (diff)
parentaudout_u: Remove std::move in OpenAudioOutImpl() (diff)
downloadyuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar.gz
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar.bz2
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar.lz
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar.xz
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.tar.zst
yuzu-da07faebfecad42c1da2941f350f606130e6c4b9.zip
-rw-r--r--src/core/hle/service/audio/audout_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index ab37c2a69..b317027b6 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -194,7 +194,7 @@ void AudOutU::OpenAudioOutImpl(Kernel::HLERequestContext& ctx) {
// TODO(bunnei): Support more than one IAudioOut interface. When we add this, ListAudioOutsImpl
// will likely need to be updated as well.
ASSERT_MSG(!audio_out_interface, "Unimplemented");
- audio_out_interface = std::make_shared<IAudioOut>(std::move(params), *audio_core);
+ audio_out_interface = std::make_shared<IAudioOut>(params, *audio_core);
IPC::ResponseBuilder rb{ctx, 6, 0, 1};
rb.Push(RESULT_SUCCESS);