Fix possible issues when building with clang

This commit is contained in:
heckflosse
2016-06-02 23:10:57 +02:00
parent 10f4bf3109
commit d719dd385e

View File

@@ -250,7 +250,7 @@ public:
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type> template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
LUT<float> & operator*=(float factor) LUT<float> & operator*=(float factor)
{ {
#ifdef _OPENMP #ifdef _RT_NESTED_OPENMP // temporary solution to fix Issue #3324
#pragma omp simd #pragma omp simd
#endif #endif
@@ -265,7 +265,7 @@ public:
template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type> template<typename U = T, typename = typename std::enable_if<std::is_same<U, float>::value>::type>
LUT<float> & operator/=(float divisor) LUT<float> & operator/=(float divisor)
{ {
#ifdef _OPENMP #ifdef _RT_NESTED_OPENMP // temporary solution to fix Issue #3324
#pragma omp simd #pragma omp simd
#endif #endif