Skip to content

Commit

Permalink
Add the static assert of CEntityKeyValues size
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Dec 20, 2024
1 parent 342c22a commit 016ce7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/entity2/entitykeyvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class CEntityKeyValues
EntityKVAllocatorType_t m_eAllocatorType;
CUtlLeanVector<EntityIOConnectionDescFat_t, int> m_connectionDescs;
};
COMPILE_TIME_ASSERT( sizeof(CEntityKeyValues) == 56 );

inline CEntityKeyValues::Iterator_t CEntityKeyValues::First() const
{
Expand Down

0 comments on commit 016ce7d

Please sign in to comment.