clean up the code

* disable the warning in CMake, not int the code using pragma
This commit is contained in:
Tomoaki Teshima
2017-12-22 08:42:21 +09:00
parent 1bc1f3d311
commit fe7b3f1228
11 changed files with 4 additions and 47 deletions
-7
View File
@@ -78,18 +78,11 @@ extern "C" {
namespace cv
{
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4324) //structure was padded due to __declspec(align())
#endif
struct JpegErrorMgr
{
struct jpeg_error_mgr pub;
jmp_buf setjmp_buffer;
};
#ifdef _MSC_VER
# pragma warning(pop)
#endif
struct JpegSource
{