diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-26 18:45:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-26 18:45:56 (GMT) |
commit | 310df91d23ab9680b67a29d82564cc25e8765ce7 (patch) | |
tree | 9f8d2fa1ebaf687ed38666be1d59f3a2feeac979 /src/qcstring.h | |
parent | 0dac69c7d148cfa63b746d83e1798f89b2da2251 (diff) | |
download | Doxygen-310df91d23ab9680b67a29d82564cc25e8765ce7.zip Doxygen-310df91d23ab9680b67a29d82564cc25e8765ce7.tar.gz Doxygen-310df91d23ab9680b67a29d82564cc25e8765ce7.tar.bz2 |
Refactoring: replace QMIN/QMAX by std::min/std::max
Diffstat (limited to 'src/qcstring.h')
-rw-r--r-- | src/qcstring.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcstring.h b/src/qcstring.h index 7cf6dd3..c5cae37 100644 --- a/src/qcstring.h +++ b/src/qcstring.h @@ -27,16 +27,14 @@ #include <cstdint> #include <ostream> -const bool FALSE = false; -const bool TRUE = true; +#define FALSE false +#define TRUE true typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned uint; typedef unsigned long ulong; typedef int64_t int64; typedef uint64_t uint64; -#define QMAX(a,b) ((a) > (b) ? (a) : (b)) -#define QMIN(a,b) ((a) < (b) ? (a) : (b)) #define ASSERT(x) if ( !(x) )\ fprintf(stderr,"ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) |