fixed: PatternCacher incorrectly rebuilt the cache
some new Ezc::Pattern objects were inserted the storage container is std::map<long,...> but we traverse it as a std::vector e.g.: for(size_t i=0 ; i<pattern_tab.size() ; ++i) RebuildCache(pattern_tab[i].pattern); so eventually new patterns were added to the map (operator []) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@980 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -92,6 +92,9 @@ public:
|
||||
// rebuild cache in all patterns
|
||||
void RebuildCache();
|
||||
|
||||
// clearing all pointers to functions and blocks
|
||||
void ClearCache();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user