From 0466fc5fe92ae03189f45f8872fb070ef7022290 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 7 Oct 2013 19:43:02 +0300 Subject: [PATCH] Use a RefPtr of correct type --- source/graphics/imageloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2