aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-10-26 11:15:25 -0400
committerLioncash <mathew1800@gmail.com>2022-10-26 11:21:48 -0400
commita8b7993c882cd7c25e72f24d62e3bf7b63683701 (patch)
tree4ac642ac27c90349d85e46bf84739b508bf9a909 /src/core/core.cpp
parent049bf101cd14a7220deb2fa5044e68a85ce6ed2d (diff)
audio_in/out_system: Pass Initialize members by value where applicable
applet_resource_user_id isn't actually modified and is just assigned to a member variable, so this doesn't need to be a mutable reference. Similarly, the device name itself isn't modified and is only moved. We pass by value here, since we can still perform the move, but eliminate a sneaky set of calls that can unintentionally destroy the original string. Given how nested the calls are, it's good to get rid of this potential vector for a use-after-move bug.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions