mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +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:
@@ -284,11 +284,11 @@ luabind::scope lua_register_expedition() {
|
||||
luabind::scope lua_register_expedition_lock_messages() {
|
||||
return luabind::class_<ExpeditionLockMessage>("ExpeditionLockMessage")
|
||||
.enum_("constants")
|
||||
[
|
||||
[(
|
||||
luabind::value("None", static_cast<int>(ExpeditionLockMessage::None)),
|
||||
luabind::value("Close", static_cast<int>(ExpeditionLockMessage::Close)),
|
||||
luabind::value("Begin", static_cast<int>(ExpeditionLockMessage::Begin))
|
||||
];
|
||||
)];
|
||||
}
|
||||
|
||||
#endif // LUA_EQEMU
|
||||
|
||||
Reference in New Issue
Block a user