mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
refactor: remove Expects macro
This commit is contained in:
committed by
Mateusz Pusz
parent
653a090a8a
commit
1c64e9f4a2
7
src/include/units/bits/external/hacks.h
vendored
7
src/include/units/bits/external/hacks.h
vendored
@ -31,13 +31,6 @@
|
||||
#define COMP_GCC_MINOR __GNUC_MINOR__
|
||||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define Expects(cond) (void)(cond);
|
||||
#else
|
||||
#include <cassert>
|
||||
#define Expects(cond) assert(cond);
|
||||
#endif
|
||||
|
||||
#if COMP_GCC >= 10
|
||||
|
||||
#include <concepts>
|
||||
|
Reference in New Issue
Block a user