Merge pull request #10297 from tomoaki0705:suppressOclWarning

This commit is contained in:
Vadim Pisarevsky 2017-12-13 07:56:34 +00:00
commit 84ee4d701a

View File

@ -4339,9 +4339,6 @@ public:
#if defined _MSC_VER
#pragma warning(disable:4127) // conditional expression is constant
#endif
template <bool readAccess, bool writeAccess>
class AlignedDataPtr
{
@ -4446,9 +4443,6 @@ private:
AlignedDataPtr2D(const AlignedDataPtr2D&); // disabled
AlignedDataPtr2D& operator=(const AlignedDataPtr2D&); // disabled
};
#if defined _MSC_VER
#pragma warning(default:4127) // conditional expression is constant
#endif
#ifndef CV_OPENCL_DATA_PTR_ALIGNMENT
#define CV_OPENCL_DATA_PTR_ALIGNMENT 16