mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-17 13:26:31 +03:00
add const
This commit is contained in:
@@ -98,7 +98,7 @@ class Command {
|
||||
}
|
||||
};
|
||||
|
||||
static std::vector<CmdFunction, AllocatorPSRAM<CmdFunction>> commands() {
|
||||
static const std::vector<CmdFunction, AllocatorPSRAM<CmdFunction>> & commands() {
|
||||
return cmdfunctions_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user