comparison Framework/Fonts/GlyphTextureAlphabet.h @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
59 class GlyphSizeVisitor; 59 class GlyphSizeVisitor;
60 class TextureGenerator; 60 class TextureGenerator;
61 class RenderTextVisitor; 61 class RenderTextVisitor;
62 62
63 GlyphAlphabet alphabet_; 63 GlyphAlphabet alphabet_;
64 std::auto_ptr<Orthanc::ImageAccessor> texture_; 64 std::unique_ptr<Orthanc::ImageAccessor> texture_;
65 unsigned int textureWidth_; 65 unsigned int textureWidth_;
66 unsigned int textureHeight_; 66 unsigned int textureHeight_;
67 67
68 public: 68 public:
69 GlyphTextureAlphabet(const GlyphBitmapAlphabet& sourceAlphabet); 69 GlyphTextureAlphabet(const GlyphBitmapAlphabet& sourceAlphabet);