Skip to content

Commit

Permalink
Remove unused macros (#1128)
Browse files Browse the repository at this point in the history
This macro is a relic of the old implementation of GSL's header. It is unused and can be removed.
  • Loading branch information
dmitrykobets-msft authored Jul 26, 2023
1 parent b34f735 commit 4300304
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/gsl/assert
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
#endif // _MSC_VER
#endif // __clang__

#define GSL_STRINGIFY_DETAIL(x) #x
#define GSL_STRINGIFY(x) GSL_STRINGIFY_DETAIL(x)

#if defined(__clang__) || defined(__GNUC__)
#define GSL_LIKELY(x) __builtin_expect(!!(x), 1)
#define GSL_UNLIKELY(x) __builtin_expect(!!(x), 0)
Expand Down

0 comments on commit 4300304

Please sign in to comment.