diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-19 10:05:45 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-19 10:18:33 +0100 |
commit | ecd15e3f6731a8298e9cd3ebc45e1875e8c19063 (patch) | |
tree | d976a5fd710cc39350a37a2aa2f37fd08d0926f5 /trie.cpp | |
parent | No idea, to tired. (diff) | |
download | calp-ecd15e3f6731a8298e9cd3ebc45e1875e8c19063.tar.gz calp-ecd15e3f6731a8298e9cd3ebc45e1875e8c19063.tar.xz |
Now it links, but segfaults.
Diffstat (limited to '')
-rw-r--r-- | trie.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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; |