mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 07:07:42 +00:00
General: Mark a handful of deduced const variables as const explicitly
Same behavior, but makes it explicit to the reader that these are const. Prevents cases where the reader might assume that just because the variable isn't const qualified that it must be mutable, when it actually isn't.
This commit is contained in:
@@ -13,23 +13,23 @@
|
||||
namespace urde {
|
||||
|
||||
constexpr std::array BaseMenuNames{
|
||||
"BaseWidget_VisorMenu",
|
||||
"BaseWidget_BeamMenu",
|
||||
"BaseWidget_VisorMenu"sv,
|
||||
"BaseWidget_BeamMenu"sv,
|
||||
};
|
||||
|
||||
constexpr std::array TextNames{
|
||||
"TextPane_VisorMenu",
|
||||
"TextPane_BeamMenu",
|
||||
"TextPane_VisorMenu"sv,
|
||||
"TextPane_BeamMenu"sv,
|
||||
};
|
||||
|
||||
constexpr std::array BaseTitleNames{
|
||||
"basewidget_visormenutitle",
|
||||
"basewidget_beammenutitle",
|
||||
"basewidget_visormenutitle"sv,
|
||||
"basewidget_beammenutitle"sv,
|
||||
};
|
||||
|
||||
constexpr std::array ModelNames{
|
||||
"model_visor",
|
||||
"model_beam",
|
||||
"model_visor"sv,
|
||||
"model_beam"sv,
|
||||
};
|
||||
|
||||
constexpr std::array<std::array<char, 4>, 2> MenuItemOrders{{
|
||||
|
||||
Reference in New Issue
Block a user