diff options
author | Sujatro Bhadra <sujatrobhadra@gmail.com> | 2024-03-06 15:59:39 +0530 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2024-03-09 11:13:50 +0100 |
commit | 47e778211b83936d067acad6df01412560f8edac (patch) | |
tree | ed57945b66a2ca45cd001e5499f5558f2b6987a8 | |
parent | c210f0869b2ee827a2a881491de323755b3a9947 (diff) |
tdf#145614 Convert #define to constexpr
Change-Id: Ibb805a67240b554cb56c5758ba20c081524e990a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164454
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
-rw-r--r-- | sc/source/core/opencl/opbase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx index 04ebab1ee7ed..3b5991275b17 100644 --- a/sc/source/core/opencl/opbase.hxx +++ b/sc/source/core/opencl/opbase.hxx @@ -29,8 +29,8 @@ namespace sc::opencl { // "correctness test" is of course ludicrous. Either things are checked in normal unit tests, in // every 'make check', or not at all. The below comments are ridiculous. -#define REDUCE_THRESHOLD 201 // set to 4 for correctness testing. priority 1 -#define UNROLLING_FACTOR 16 // set to 4 for correctness testing (if no reduce) +constexpr auto REDUCE_THRESHOLD = 201; // set to 4 for correctness testing. priority 1 +constexpr auto UNROLLING_FACTOR = 16; // set to 4 for correctness testing (if no reduce) class FormulaTreeNode; |