aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 1f72ba738..cacae9b8a 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -88,7 +88,7 @@ public:
/// Remove all images.
void Clear() noexcept;
/// Add an image.
- void Add(int ident, RGBAImage *image);
+ void AddImage(int ident, std::unique_ptr<RGBAImage> image);
/// Get image by id.
RGBAImage *Get(int ident);
/// Give the largest height of the set.