summaryrefslogtreecommitdiff
path: root/extractor/matchings_trie.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commite1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch)
treeca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/matchings_trie.cc
parenta283adae755aa8617119afb283b9b874f64cf911 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/matchings_trie.cc')
-rw-r--r--extractor/matchings_trie.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/matchings_trie.cc b/extractor/matchings_trie.cc
index 8ea795db..c7b98765 100644
--- a/extractor/matchings_trie.cc
+++ b/extractor/matchings_trie.cc
@@ -1,5 +1,7 @@
#include "matchings_trie.h"
+namespace extractor {
+
void MatchingsTrie::Reset() {
ResetTree(root);
root = make_shared<TrieNode>();
@@ -20,3 +22,5 @@ void MatchingsTrie::ResetTree(shared_ptr<TrieNode> root) {
root.reset();
}
}
+
+} // namespace extractor