mirror of
https://github.com/opencv/opencv.git
synced 2025-08-01 02:18:01 +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>
|
template <bool readAccess, bool writeAccess>
|
||||||
class AlignedDataPtr
|
class AlignedDataPtr
|
||||||
{
|
{
|
||||||
@ -4446,9 +4443,6 @@ private:
|
|||||||
AlignedDataPtr2D(const AlignedDataPtr2D&); // disabled
|
AlignedDataPtr2D(const AlignedDataPtr2D&); // disabled
|
||||||
AlignedDataPtr2D& operator=(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
|
#ifndef CV_OPENCL_DATA_PTR_ALIGNMENT
|
||||||
#define CV_OPENCL_DATA_PTR_ALIGNMENT 16
|
#define CV_OPENCL_DATA_PTR_ALIGNMENT 16
|
||||||
|
Loading…
Reference in New Issue
Block a user