sc/source/core/opencl/opbase.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 47e778211b83936d067acad6df01412560f8edac
Author:     Sujatro Bhadra <sujatrobha...@gmail.com>
AuthorDate: Wed Mar 6 15:59:39 2024 +0530
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Sat Mar 9 11:13:50 2024 +0100

    tdf#145614 Convert #define to constexpr
    
    Change-Id: Ibb805a67240b554cb56c5758ba20c081524e990a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164454
    Tested-by: Jenkins
    Reviewed-by: Hossein <hoss...@libreoffice.org>

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;

Reply via email to