Skip to content

Commit c07857d

Browse files
committed
Fixed static assert warning.
1 parent 81609c0 commit c07857d

File tree

1 file changed

+1
-1
lines changed
  • Core/GameEngine/Include/GameNetwork

1 file changed

+1
-1
lines changed

Core/GameEngine/Include/GameNetwork/LANAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ struct LANMessage
286286
};
287287
#pragma pack(pop)
288288

289-
static_assert(sizeof(LANMessage) <= MAX_PACKET_SIZE);
289+
static_assert(sizeof(LANMessage) <= MAX_PACKET_SIZE, "LANMessage struct cannot be larger than the max packet size");
290290

291291

292292
/**

0 commit comments

Comments
 (0)