summaryrefslogtreecommitdiffstats
path: root/Macros.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-20 13:14:32 +0200
committercgzones <cgzones@googlemail.com>2020-10-20 21:43:36 +0200
commitf8208f21730b21f284d9608a5b39f8ac1d15199b (patch)
tree534bfe8cdbe5763683b0e539ba1c4ab013845418 /Macros.h
parentdea19b644f463c8409569957d008fb9d86b487e9 (diff)
Drop tabs in source indentions
Diffstat (limited to 'Macros.h')
-rw-r--r--Macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Macros.h b/Macros.h
index 2f92acb1..1064dadb 100644
--- a/Macros.h
+++ b/Macros.h
@@ -4,15 +4,15 @@
#include <assert.h> // IWYU pragma: keep
#ifndef MINIMUM
-#define MINIMUM(a, b) ((a) < (b) ? (a) : (b))
+#define MINIMUM(a, b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAXIMUM
-#define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
+#define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
#endif
#ifndef CLAMP
-#define CLAMP(x, low, high) (assert((low) <= (high)), ((x) > (high)) ? (high) : MAXIMUM(x, low))
+#define CLAMP(x, low, high) (assert((low) <= (high)), ((x) > (high)) ? (high) : MAXIMUM(x, low))
#endif
#ifndef ARRAYSIZE

© 2014-2024 Faster IT GmbH | imprint | privacy policy