mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-01 14:15:43 +03:00
ComponentRepeat: remove firsts_cache, precalc code
Firsts are easy to compute in ComponentRepeat::first() now.
This commit is contained in:
committed by
Matthew Barr
parent
3d049d6de3
commit
e92a20e5fa
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user