Files
yuzu/src/core/hle/service/friend/interface.cpp
Lioncash 4c48c9784a service: Mark FunctionInfo arrays as constexpr
Now that the FunctionInfo type is constexpr, the arrays of FunctionInfo
instances can also be made constexpr.
2018-12-17 23:55:24 -05:00

22 lines
641 B
C++

// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/hle/service/friend/interface.h"
namespace Service::Friend {
Friend::Friend(std::shared_ptr<Module> module, const char* name)
: Interface(std::move(module), name) {
static constexpr FunctionInfo functions[] = {
{0, &Friend::CreateFriendService, "CreateFriendService"},
{1, nullptr, "CreateNotificationService"},
{2, nullptr, "CreateDaemonSuspendSessionService"},
};
RegisterHandlers(functions);
}
Friend::~Friend() = default;
} // namespace Service::Friend