Skip to content

Commit

Permalink
Implement GlyphContext::Next(int step).
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Jun 11, 2024
1 parent 69c37dc commit 8bd48bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Structural_Patterns/Flyweight/GlyphContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bd48bd

Please sign in to comment.