Compile fix from Duvan Cope.

This commit is contained in:
Robert Osfield
2002-11-07 16:08:37 +00:00
parent cb6c0b2251
commit 16d53271cc

View File

@@ -160,10 +160,10 @@ class ReaderWriterPFB : public osgDB::ReaderWriter
{
ConvertFromPerformer converter;
if (options) {
const string option = options->getOptionString();
if (option.find("saveImagesAsRGB") != string::npos)
const std::string option = options->getOptionString();
if (option.find("saveImagesAsRGB") != std::string::npos)
converter.setSaveImagesAsRGB(true);
if (option.find("saveAbsoluteImagePath") != string::npos)
if (option.find("saveAbsoluteImagePath") != std::string::npos)
converter.setSaveAbsoluteImagePath(true);
}