Commit a75e5ac2 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky Committed by OpenCV Buildbot

Merge pull request #232 from asmorkalov:compiler_bug_workaround

parents 2c56a09b dfa4b2fe
...@@ -5200,6 +5200,7 @@ void FileStorage::release() ...@@ -5200,6 +5200,7 @@ void FileStorage::release()
string FileStorage::releaseAndGetString() string FileStorage::releaseAndGetString()
{ {
string buf; string buf;
buf.reserve(16); // HACK: Work around for compiler bug
if( fs.obj && fs.obj->outbuf ) if( fs.obj && fs.obj->outbuf )
icvClose(fs.obj, &buf); icvClose(fs.obj, &buf);
......
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