Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
This commit is contained in:
@@ -1100,7 +1100,7 @@ ReaderWriter::ReadResult Registry::read(const ReadFunctor& readFunctor)
|
||||
|
||||
options->setDatabasePath(archiveName);
|
||||
|
||||
std::auto_ptr<ReadFunctor> rf(readFunctor.cloneType(fileName, options));
|
||||
std::auto_ptr<ReadFunctor> rf(readFunctor.cloneType(fileName, options.get()));
|
||||
|
||||
result = rf->doRead(*archive);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user