Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled

This commit is contained in:
Robert Osfield
2013-02-05 18:22:46 +00:00
parent f9356603cf
commit 8ed0780967
8 changed files with 24 additions and 24 deletions

View File

@@ -1805,9 +1805,9 @@ ReaderWriter* Registry::getReaderWriterForProtocolAndExtension(const std::string
{
// if we have a readerwriter which supports wildcards, save it as a fallback
if ((*i)->acceptsExtension("*"))
result = *i;
result = i->get();
else if ((*i)->acceptsExtension(extension))
return *i;
return i->get();
}
return result ? result : getReaderWriterForExtension("curl");