From eacf750f7b9c65265bdf7592875169a5974f9353 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Mon, 9 Jan 2017 18:38:08 +0100 Subject: [PATCH] add unimplemented methods --- alib2data/src/indexes/SuffixTrie.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/alib2data/src/indexes/SuffixTrie.h b/alib2data/src/indexes/SuffixTrie.h index c7adc57915..515eaaa95d 100644 --- a/alib2data/src/indexes/SuffixTrie.h +++ b/alib2data/src/indexes/SuffixTrie.h @@ -86,13 +86,17 @@ public: * Removes symbol from the alphabet of symbol available in the regular expression * @param symbol removed symbol from the alphabet */ - bool removeSymbolFromEdgeAlphabet ( const EdgeType & symbol ); + bool removeSymbolFromEdgeAlphabet ( const EdgeType & symbol ) { + return this->template accessComponent < EdgeAlphabet > ( ).remove ( symbol ); + } /** * Removes symbol from the alphabet of symbol available in the regular expression * @param symbol removed symbol from the alphabet */ - bool removeSymbolFromNodeAlphabet ( const NodeType & symbol ); + bool removeSymbolFromNodeAlphabet ( const NodeType & symbol ) { + return this->template accessComponent < NodeAlphabet > ( ).remove ( symbol ); + } /** * Prints XML representation of the tree to the output stream. -- GitLab