3
0
Fork 0
forked from suyu/suyu

acc: Correct IProfile's constructor initializer list order

Arranges them in the order the members would be initialized
This commit is contained in:
Lioncash 2018-08-20 18:56:00 -04:00
parent 0fcdf37917
commit f5b132676f

View file

@ -30,7 +30,7 @@ static_assert(sizeof(UserData) == 0x80, "UserData structure has incorrect size")
class IProfile final : public ServiceFramework<IProfile> { class IProfile final : public ServiceFramework<IProfile> {
public: public:
explicit IProfile(UUID user_id, ProfileManager& profile_manager) explicit IProfile(UUID user_id, ProfileManager& profile_manager)
: ServiceFramework("IProfile"), user_id(user_id), profile_manager(profile_manager) { : ServiceFramework("IProfile"), profile_manager(profile_manager), user_id(user_id) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IProfile::Get, "Get"}, {0, &IProfile::Get, "Get"},
{1, &IProfile::GetBase, "GetBase"}, {1, &IProfile::GetBase, "GetBase"},