summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/xetexdir/cmaps.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/Build/source/texk/web2c/xetexdir/cmaps.h b/Build/source/texk/web2c/xetexdir/cmaps.h
index 5f7dd81aeec..8a591b20c13 100644
--- a/Build/source/texk/web2c/xetexdir/cmaps.h
+++ b/Build/source/texk/web2c/xetexdir/cmaps.h
@@ -49,12 +49,19 @@ class CMAPMapper
public:
virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const = 0;
- virtual ~CMAPMapper();
+ virtual ~CMAPMapper()
+ {
+ LE_DELETE_ARRAY(fcmap);
+ }
static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap);
protected:
- CMAPMapper(const CMAPTable *cmap);
+ CMAPMapper(const CMAPTable *cmap)
+ : fcmap(cmap)
+ {
+ // nothing else to do
+ }
CMAPMapper() {};
@@ -101,16 +108,5 @@ private:
const CMAPGroup *fGroups;
};
-inline CMAPMapper::CMAPMapper(const CMAPTable *cmap)
- : fcmap(cmap)
-{
- // nothing else to do
-}
-
-inline CMAPMapper::~CMAPMapper()
-{
- LE_DELETE_ARRAY(fcmap);
-}
-
#endif