mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Merge pull request #10297 from tomoaki0705:suppressOclWarning
This commit is contained in:
commit
84ee4d701a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user