diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
commit | b201e09daf251a0e3e5576b79643f6c4f841a4a9 (patch) | |
tree | bc7d0caf7e5a4d0635b7ee7ba593f4ee830a6072 /src/XPM.h | |
parent | 0801e0084a5cf87f424235d5947f5158474d5da4 (diff) | |
download | scintilla-mirror-b201e09daf251a0e3e5576b79643f6c4f841a4a9.tar.gz |
Using unique_ptr to simplify ownership of images, case folder, and list box.
Diffstat (limited to 'src/XPM.h')
-rw-r--r-- | src/XPM.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ public: * A collection of RGBAImage pixmaps indexed by integer id. */ class RGBAImageSet { - typedef std::map<int, RGBAImage*> ImageMap; + typedef std::map<int, std::unique_ptr<RGBAImage>> ImageMap; ImageMap images; mutable int height; ///< Memorize largest height of the set. mutable int width; ///< Memorize largest width of the set. |