summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-20 23:16:23 +0200
committerLioncash <mathew1800@gmail.com>2018-08-20 23:18:31 +0200
commit9e9a4bb3a78543f6ada98fa4b16509b11026a6d6 (patch)
treed4a3ef2cd417ba0780be18204a3487a175bd7ed9 /src
parentMerge pull request #1104 from Subv/instanced_arrays (diff)
downloadyuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar.gz
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar.bz2
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar.lz
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar.xz
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.tar.zst
yuzu-9e9a4bb3a78543f6ada98fa4b16509b11026a6d6.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/acc/profile_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp
index 62c2121fa..fe9921fb6 100644
--- a/src/core/hle/service/acc/profile_manager.cpp
+++ b/src/core/hle/service/acc/profile_manager.cpp
@@ -25,7 +25,7 @@ boost::optional<size_t> ProfileManager::AddToProfiles(const ProfileInfo& user) {
if (user_count >= MAX_USERS) {
return boost::none;
}
- profiles[user_count] = std::move(user);
+ profiles[user_count] = user;
return user_count++;
}
@@ -67,7 +67,7 @@ ResultCode ProfileManager::CreateNewUser(UUID uuid, std::array<u8, 0x20>& userna
return ERROR_USER_ALREADY_EXISTS;
}
ProfileInfo profile;
- profile.user_uuid = std::move(uuid);
+ profile.user_uuid = uuid;
profile.username = username;
profile.data = {};
profile.creation_time = 0x0;