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::Audio {
|
||||
|
||||
AudCtl::AudCtl() : ServiceFramework{"audctl"} {
|
||||
// clang-format off
|
||||
static const FunctionInfo functions[] = {
|
||||
static constexpr FunctionInfo functions[] = {
|
||||
{0, nullptr, "GetTargetVolume"},
|
||||
{1, nullptr, "SetTargetVolume"},
|
||||
{2, nullptr, "GetTargetVolumeMin"},
|
||||
|
||||
Reference in New Issue
Block a user