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:
@@ -7,7 +7,7 @@
|
||||
namespace Service::Sockets {
|
||||
|
||||
NSD::NSD(const char* name) : ServiceFramework(name) {
|
||||
static const FunctionInfo functions[] = {
|
||||
static constexpr FunctionInfo functions[] = {
|
||||
{10, nullptr, "GetSettingName"},
|
||||
{11, nullptr, "GetEnvironmentIdentifier"},
|
||||
{12, nullptr, "GetDeviceId"},
|
||||
|
||||
Reference in New Issue
Block a user