aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/Colours
diff options
context:
space:
mode:
authorVivyaCC <21315274+enginelesscc@users.noreply.github.com>2026-03-06 23:25:57 +0100
committervoid_17 <heroerror3@gmail.com>2026-03-07 23:58:51 +0700
commit52b1882f13bfc35b052c68fafd4641829cbd34fe (patch)
tree477ef202101f015652da1ad96c808be48eecec7b /Minecraft.Client/Common/Colours
parent6dfdd9032892f933a2cd23470ccd03149d114811 (diff)
win cpp23 compat: Minecraft.Client
Diffstat (limited to 'Minecraft.Client/Common/Colours')
-rw-r--r--Minecraft.Client/Common/Colours/ColourTable.cpp2
-rw-r--r--Minecraft.Client/Common/Colours/ColourTable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/Common/Colours/ColourTable.cpp b/Minecraft.Client/Common/Colours/ColourTable.cpp
index e4bfe732..fa1e9d69 100644
--- a/Minecraft.Client/Common/Colours/ColourTable.cpp
+++ b/Minecraft.Client/Common/Colours/ColourTable.cpp
@@ -4,7 +4,7 @@
unordered_map<wstring,eMinecraftColour> ColourTable::s_colourNamesMap;
-wchar_t *ColourTable::ColourTableElements[eMinecraftColour_COUNT] =
+const wchar_t *ColourTable::ColourTableElements[eMinecraftColour_COUNT] =
{
L"NOTSET",
diff --git a/Minecraft.Client/Common/Colours/ColourTable.h b/Minecraft.Client/Common/Colours/ColourTable.h
index 8e0a348c..af99a8ed 100644
--- a/Minecraft.Client/Common/Colours/ColourTable.h
+++ b/Minecraft.Client/Common/Colours/ColourTable.h
@@ -5,7 +5,7 @@ class ColourTable
private:
unsigned int m_colourValues[eMinecraftColour_COUNT];
- static wchar_t *ColourTableElements[eMinecraftColour_COUNT];
+ static const wchar_t *ColourTableElements[eMinecraftColour_COUNT];
static unordered_map<wstring,eMinecraftColour> s_colourNamesMap;
public: