diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-05 23:20:20 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-05 23:41:51 +0200 |
commit | ad2127a3e8b274d4946a35cafd31c904a3de294b (patch) | |
tree | e50a6ac1cbee88aadeb478437bb9ecd114551824 /core | |
parent | 9c3ddf05cb9c59817d885e9daca6e8f61c89dc97 (diff) |
Replace a few #if/#elif with #ifdef and "#elif defined"
Diffstat (limited to 'core')
-rw-r--r-- | core/vmap.h | 2 | ||||
-rw-r--r-- | core/vset.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/vmap.h b/core/vmap.h index f46ed70a0f..fde9723d71 100644 --- a/core/vmap.h +++ b/core/vmap.h @@ -65,7 +65,7 @@ private: const Pair *a = _cowdata.ptr(); int middle = 0; -#if DEBUG_ENABLED +#ifdef DEBUG_ENABLED if (low > high) ERR_PRINT("low > high, this may be a bug"); #endif diff --git a/core/vset.h b/core/vset.h index 678ec507ba..5f087a5a03 100644 --- a/core/vset.h +++ b/core/vset.h @@ -50,7 +50,7 @@ class VSet { const T *a = &_data[0]; int middle = 0; -#if DEBUG_ENABLED +#ifdef DEBUG_ENABLED if (low > high) ERR_PRINT("low > high, this may be a bug"); #endif |