summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2007-01-03 10:01:17 +0000
committerJonathan Kew <jfkthame@googlemail.com>2007-01-03 10:01:17 +0000
commit54c7c61e7bcac4fc53c9b7995909bbcba69751e1 (patch)
tree726649b13e6c41566e5e0819faaf00f3b11d5ddf /Build/source/texk
parent042ba2933e9f689676c96cd0e5a809ebf0b13082 (diff)
patch for HPUX compiler
git-svn-id: svn://tug.org/texlive/trunk@3123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-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