mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Workaround for gcc overoptimization compiler bug.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user