aboutsummaryrefslogtreecommitdiff
path: root/trie.cpp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-19 10:05:45 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-19 10:18:33 +0100
commitecd15e3f6731a8298e9cd3ebc45e1875e8c19063 (patch)
treed976a5fd710cc39350a37a2aa2f37fd08d0926f5 /trie.cpp
parentNo idea, to tired. (diff)
downloadcalp-ecd15e3f6731a8298e9cd3ebc45e1875e8c19063.tar.gz
calp-ecd15e3f6731a8298e9cd3ebc45e1875e8c19063.tar.xz
Now it links, but segfaults.
Diffstat (limited to '')
-rw-r--r--trie.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/trie.cpp b/trie.cpp
index a3446a97..e3158a2b 100644
--- a/trie.cpp
+++ b/trie.cpp
@@ -1,16 +1,6 @@
#include "trie.h"
template <class T>
-trie<T>::trie () {
- this->root = new trie_node<T> ('\0');
-}
-
-template <class T>
-trie_node<T>::trie_node (char c) {
- this->c = c;
-}
-
-template <class T>
trie_node<T>::trie_node (char c, trie_node<T>* next, trie_node<T>* child) {
this->c = c;
this->next = next;