+ correct parameters order
This commit is contained in:
parent
8d7ad5b190
commit
4483564b5e
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,6 @@ namespace mapnik
|
|||
ImageReader* get_image_reader(const std::string& filename)
|
||||
{
|
||||
std::string type = type_from_filename(filename);
|
||||
return ImageReaderFactory::instance()->create_object(filename,type);
|
||||
return ImageReaderFactory::instance()->create_object(type,filename);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue