mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-01 19:23:51 +00:00
refactor: promote remaining static const arrays to constexpr across UI
game_screen: fsrScales, fsrScaleFactors, kTotemInfo, kRaidMarks, kTimerInfo, kNPMarks, kCellMarks, kPartyMarks, kMMMarks, kCatOrder keybinding_manager: actionMap All static const arrays in UI files are now constexpr where possible.
This commit is contained in:
parent
d2430faa51
commit
7028dd64c1
2 changed files with 11 additions and 11 deletions
|
|
@ -240,7 +240,7 @@ void KeybindingManager::saveToConfigFile(const std::string& filePath) const {
|
|||
// Append new Keybindings section
|
||||
content += "[Keybindings]\n";
|
||||
|
||||
static const struct {
|
||||
static constexpr struct {
|
||||
Action action;
|
||||
const char* name;
|
||||
} actionMap[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue