Skip to content

Commit

Permalink
Enforce ; at end of MANGOS_DEBUG_ASSERT
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu committed Sep 4, 2024
1 parent 5f53005 commit fee4aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/Errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace MaNGOS { namespace Errors
#ifdef MANGOS_DEBUG
#define MANGOS_DEBUG_ASSERT(x) MANGOS_ASSERT(x)
#else
#define MANGOS_DEBUG_ASSERT(x)
#define MANGOS_DEBUG_ASSERT(x) do {} while(0)
#endif

#define ASSERT MANGOS_ASSERT
Expand Down

0 comments on commit fee4aa5

Please sign in to comment.