]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/image.cpp
Change the ImageLoader API to use IO::Seekable
[libs/gui.git] / source / graphics / image.cpp
index 3e1124faaf06800158413189c054529db2ca4060..b22be1969d057e161cd60af0be3d9785c320b438 100644 (file)
@@ -29,7 +29,7 @@ void Image::load_file(const string &fn)
        load(*loader);
 }
 
-void Image::load_io(IO::Base &io)
+void Image::load_io(IO::Seekable &io)
 {
        RefPtr<ImageLoader> loader = ImageLoader::open_io(io);
        load(*loader);