mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 11:00:04 -04:00
Replace sizeof/sizeof by std::size
This commit is contained in:
@@ -269,7 +269,7 @@ bool f_allow_objects_to_be_pushed_through_walls = false;
|
||||
|
||||
void DrawItemModel(grHardwareSurface *surf, int model_num);
|
||||
|
||||
#define NUM_EDIT_OBJTYPES (sizeof(edit_object_types) / sizeof(*edit_object_types))
|
||||
#define NUM_EDIT_OBJTYPES std::size(edit_object_types)
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CObjectDialog dialog
|
||||
|
||||
Reference in New Issue
Block a user