Merge pull request #232 from asmorkalov:compiler_bug_workaround

pull/202/merge
Vadim Pisarevsky 12 years ago committed by OpenCV Buildbot
commit a75e5ac277
  1. 1
      modules/core/src/persistence.cpp

@ -5200,6 +5200,7 @@ void FileStorage::release()
string FileStorage::releaseAndGetString()
{
string buf;
buf.reserve(16); // HACK: Work around for compiler bug
if( fs.obj && fs.obj->outbuf )
icvClose(fs.obj, &buf);

Loading…
Cancel
Save