Merge pull request #1366 from asmorkalov:ocv_autobuffer_fix

pull/1352/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit fc37df05ec
  1. 4
      modules/core/include/opencv2/core/utility.hpp

@ -116,8 +116,8 @@ protected:
_Tp* ptr;
//! size of the real buffer
size_t sz;
//! pre-allocated buffer
_Tp buf[fixed_size];
//! pre-allocated buffer. At least 1 element to confirm C++ standard reqirements
_Tp buf[(fixed_size > 0) ? fixed_size : 1];
};
//! Sets/resets the break-on-error mode.

Loading…
Cancel
Save