diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-08-20 17:32:23 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-08-20 19:48:57 -0400 |
| commit | 1277556c69a29a6479815b16e3e1707f7e53a422 (patch) | |
| tree | c381cc347ca8a5bc2712ec482148386762995c92 /src/core/hle/service/acc/profile_manager.cpp | |
| parent | dfdf4a46fed709426ffa51fd041cd3014d86cf8d (diff) | |
profile_manager: Make array parameter to CreateNewUser a const reference
This doesn't modify the passed in array, so this can be a const
reference.
Diffstat (limited to 'src/core/hle/service/acc/profile_manager.cpp')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp index 9440dc555..e1ab0e559 100644 --- a/src/core/hle/service/acc/profile_manager.cpp +++ b/src/core/hle/service/acc/profile_manager.cpp @@ -62,7 +62,7 @@ ResultCode ProfileManager::AddUser(ProfileInfo user) { /// Create a new user on the system. If the uuid of the user already exists, the user is not /// created. -ResultCode ProfileManager::CreateNewUser(UUID uuid, std::array<u8, 0x20>& username) { +ResultCode ProfileManager::CreateNewUser(UUID uuid, const std::array<u8, 0x20>& username) { if (user_count == MAX_USERS) { return ERROR_TOO_MANY_USERS; } |
