+ correct parameters order

This commit is contained in:
Artem Pavlenko 2010-01-13 23:07:12 +00:00
parent 8d7ad5b190
commit 4483564b5e

View file

@ -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);
}
}