data: removed Singleton from Dictionary and made it a member of SearchIndex
Dictionary never had a good reason of being a Singleton in the first place so this will avoid concurrency and structural issues in the future.
This commit is contained in:
@@ -85,8 +85,8 @@ public:
|
||||
|
||||
protected:
|
||||
const Graph& getGraph() const;
|
||||
Token* getTokenWithId(Id tokenId) const;
|
||||
std::vector<TokenLocation*> getTokenLocationsForId(Id tokenId) const;
|
||||
const TokenLocationCollection& getTokenLocationCollection() const;
|
||||
const SearchIndex& getSearchIndex() const;
|
||||
|
||||
private:
|
||||
void initSearchIndex();
|
||||
|
||||
Reference in New Issue
Block a user