Skip to content

Commit

Permalink
Add CLAP_UNLIKELY
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinitou authored Nov 21, 2023
1 parent e292447 commit de620fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/clap/private/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@

#if defined(CLAP_CPLUSPLUS) && CLAP_CPLUSPLUS >= 202002L
# define CLAP_HAS_CXX20
# define CLAP_UNLIKELY [[unlikely]]
#else
# define CLAP_UNLIKELY
#endif

0 comments on commit de620fe

Please sign in to comment.