Commit dc80f9d0 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #13243 from etienne02:3.4

parents ad0d812a 736683ce
...@@ -364,7 +364,7 @@ IplImage; ...@@ -364,7 +364,7 @@ IplImage;
CV_INLINE IplImage cvIplImage() CV_INLINE IplImage cvIplImage()
{ {
#if !defined(CV__ENABLE_C_API_CTORS) #if !(defined(CV__ENABLE_C_API_CTORS) && defined(__cplusplus))
IplImage self = CV_STRUCT_INITIALIZER; self.nSize = sizeof(IplImage); return self; IplImage self = CV_STRUCT_INITIALIZER; self.nSize = sizeof(IplImage); return self;
#else #else
return _IplImage(); return _IplImage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment