From f41a6385007f14b217f5fc503eeb96b8f43dd116 Mon Sep 17 00:00:00 2001 From: DrSlony Date: Fri, 7 Aug 2015 21:28:15 +0200 Subject: [PATCH] Fixed possible issue with #pragma directive --- rtengine/ipvibrance.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rtengine/ipvibrance.cc b/rtengine/ipvibrance.cc index 2582209d0..94d0f15d5 100644 --- a/rtengine/ipvibrance.cc +++ b/rtengine/ipvibrance.cc @@ -175,12 +175,9 @@ void ImProcFunctions::vibrance (LabImage* lab) { MunsellDebugInfo* MunsDebugInfo = NULL; if (avoidcolorshift) MunsDebugInfo = new MunsellDebugInfo(); - -#pragma omp parallel default(shared) firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, \ - transitionweighting, protectskins, avoidcolorshift, MunsDebugInfo) reduction(+: negat, moreRGB, negsat, moresat) if (multiThread) +#pragma omp parallel default(shared) firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, transitionweighting, protectskins, avoidcolorshift, MunsDebugInfo) reduction(+: negat, moreRGB, negsat, moresat) if (multiThread) #else -#pragma omp parallel default(shared) if (multiThread)// firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, \ - transitionweighting, protectskins, avoidcolorshift) if (multiThread) +#pragma omp parallel default(shared) if (multiThread) #endif {