ComponentRepeat: remove firsts_cache, precalc code

Firsts are easy to compute in ComponentRepeat::first() now.
This commit is contained in:
Justin Viiret
2016-01-04 15:33:05 +11:00
committed by Matthew Barr
parent 3d049d6de3
commit e92a20e5fa
2 changed files with 16 additions and 32 deletions

View File

@@ -120,8 +120,6 @@ public:
enum RepeatType type;
protected:
/** Called by \ref buildFollowSet to connect up the various repeats. */
void precalc_firsts();
void postSubNotePositionHook();
void wireRepeats(GlushkovBuildState &bs);
@@ -134,8 +132,6 @@ protected:
Position posFirst;
Position posLast;
std::vector<PositionInfo> firsts_cache;
ComponentRepeat(const ComponentRepeat &other);
};