mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +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
@@ -3506,13 +3506,13 @@ luabind::scope lua_register_client() {
|
||||
luabind::scope lua_register_inventory_where() {
|
||||
return luabind::class_<InventoryWhere>("InventoryWhere")
|
||||
.enum_("constants")
|
||||
[
|
||||
[(
|
||||
luabind::value("Personal", static_cast<int>(invWherePersonal)),
|
||||
luabind::value("Bank", static_cast<int>(invWhereBank)),
|
||||
luabind::value("SharedBank", static_cast<int>(invWhereSharedBank)),
|
||||
luabind::value("Trading", static_cast<int>(invWhereTrading)),
|
||||
luabind::value("Cursor", static_cast<int>(invWhereCursor))
|
||||
];
|
||||
)];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user