service: Mark FunctionInfo arrays as constexpr
Now that the FunctionInfo type is constexpr, the arrays of FunctionInfo instances can also be made constexpr.
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Service::Friend {
|
||||
|
||||
Friend::Friend(std::shared_ptr<Module> module, const char* name)
|
||||
: Interface(std::move(module), name) {
|
||||
static const FunctionInfo functions[] = {
|
||||
static constexpr FunctionInfo functions[] = {
|
||||
{0, &Friend::CreateFriendService, "CreateFriendService"},
|
||||
{1, nullptr, "CreateNotificationService"},
|
||||
{2, nullptr, "CreateDaemonSuspendSessionService"},
|
||||
|
||||
Reference in New Issue
Block a user