diff --git a/Structural_Patterns/Flyweight/GlyphContext.cpp b/Structural_Patterns/Flyweight/GlyphContext.cpp index 4c14ed2..dd84f0f 100644 --- a/Structural_Patterns/Flyweight/GlyphContext.cpp +++ b/Structural_Patterns/Flyweight/GlyphContext.cpp @@ -9,8 +9,8 @@ GlyphContext::~GlyphContext() void GlyphContext::Next(int step) { - // TODO: increment _index as the traversal proceeds - // (see book page 202). + // Increment _index as the traversal proceeds (see book page 202). + _index += step; } void GlyphContext::Insert(int quantity1)