diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-03-18 20:20:47 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-03-18 20:20:47 +1100 |
| commit | 088336e91cb2771acd435bcd4646373420f62484 (patch) | |
| tree | 863d4eb386245ca5fe200fb5f2abb0140ca3ad15 /src/XPM.h | |
| parent | 6af47b53d52c29474bfc551700f8394dbf1dbc04 (diff) | |
| download | scintilla-mirror-088336e91cb2771acd435bcd4646373420f62484.tar.gz | |
Use unique_ptr to add to RGBAImageSet.
Diffstat (limited to 'src/XPM.h')
| -rw-r--r-- | src/XPM.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |
