mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
[C++20] Enable C++20 + Fixes + FMT 9.1 (#2664)
* [CPP] Enable and build compliance with cpp20 * Windows build fix * bump fmt version * Updated fmt to 9.1, updated cmake minimum and verified preprocessor stuff works. * Missing : * Fix warning: top-level comma expression in array subscript is deprecated * Fix warning: top-level comma expression in array subscript is deprecated Co-authored-by: KimLS <KimLS@peqtgc.com>
This commit is contained in:
+2
-2
@@ -365,7 +365,7 @@ luabind::scope lua_register_packet() {
|
||||
luabind::scope lua_register_packet_opcodes() {
|
||||
return luabind::class_<Opcodes>("Opcode")
|
||||
.enum_("constants")
|
||||
[
|
||||
[(
|
||||
luabind::value("ExploreUnknown", static_cast<int>(OP_ExploreUnknown)),
|
||||
luabind::value("Heartbeat", static_cast<int>(OP_Heartbeat)),
|
||||
luabind::value("ReloadUI", static_cast<int>(OP_ReloadUI)),
|
||||
@@ -911,7 +911,7 @@ luabind::scope lua_register_packet_opcodes() {
|
||||
luabind::value("ClientTimeStamp", static_cast<int>(OP_ClientTimeStamp)),
|
||||
luabind::value("GuildPromote", static_cast<int>(OP_GuildPromote)),
|
||||
luabind::value("Fling", static_cast<int>(OP_Fling))
|
||||
];
|
||||
)];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user