Commit dfa4b2fe authored by Alexander Smorkalov's avatar Alexander Smorkalov

Workaround for gcc overoptimization compiler bug.

parent 09be997e
......@@ -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);
......
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