From: Mikko Rasa Date: Mon, 7 Oct 2013 16:43:02 +0000 (+0300) Subject: Use a RefPtr of correct type X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0466fc5fe92ae03189f45f8872fb070ef7022290;p=libs%2Fgui.git Use a RefPtr of correct type --- diff --git a/source/graphics/imageloader.cpp b/source/graphics/imageloader.cpp index daedab6..6cdaef9 100644 --- a/source/graphics/imageloader.cpp +++ b/source/graphics/imageloader.cpp @@ -27,7 +27,7 @@ ImageLoader *ImageLoader::open_file(const string &fn) { try { - RefPtr file = new IO::BufferedFile(fn); + RefPtr file = new IO::BufferedFile(fn); ImageLoader *loader = open_io(*file); loader->source = file.release(); return loader;