Added error code (err) to initialisation list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
diff --git a/include/FTGlyphContainer.h b/include/FTGlyphContainer.h
index 8e7c067..2283a6c 100755
--- a/include/FTGlyphContainer.h
+++ b/include/FTGlyphContainer.h
@@ -21,8 +21,6 @@ using namespace std;
class FTGlyphContainer
{
public:
- // methods
-
/**
* Constructor
*/
@@ -46,13 +44,7 @@ class FTGlyphContainer
*/
FT_Vector& render( unsigned int index, unsigned int next, FT_Vector pen);
- // attributes
-
private:
- // methods
-
- // attributes
-
/**
*
*/
diff --git a/src/FTGlyphContainer.cpp b/src/FTGlyphContainer.cpp
index 0422752..ff31b14 100755
--- a/src/FTGlyphContainer.cpp
+++ b/src/FTGlyphContainer.cpp
@@ -5,14 +5,15 @@
FTGlyphContainer::FTGlyphContainer( FTFace* f, int g, bool p)
: preCache( p),
- numGlyphs(g),
- face(f)
+ numGlyphs( g),
+ face( f),
+ err( 0)
{
glyphs.reserve( g);
}
-// OPSignature: FTGlyphContainer:~FTGlyphContainer()
+
FTGlyphContainer::~FTGlyphContainer()
{
vector<FTGlyph*>::iterator iter;