https://github.com/OpenImageIO/oiio/pull/903
On Jul 6, 2014, at 6:30 PM, Larry Gritz <[email protected]> wrote: > I think .good() is the way to go here. > > I'll make the change and commit it. > > How odd that it was only found now! This section of the code has not changed > in a long time. > > > On Jul 6, 2014, at 5:02 AM, haggi krey <[email protected]> wrote: > >> Hi, >> >> just compiled oiio and got an error in the file psdinput.cpp line 392: >> >> return m_file; >> >> VisualStudio 2013 refuses to convert the std::ifstream to a bool value. >> I can modify it to m_file.good() or force it with a cast to bool but I >> perfer not to modify the original code if possible. >> Is there another solution without modifying the source code itself? >> >> haggi >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > -- > Larry Gritz > [email protected] > > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
