From 6f3c772939463c97a4a8a8371db42b8f4b181c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 19 Feb 2019 02:31:35 +0100 Subject: No idea, to tired. --- trie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie.cpp') diff --git a/trie.cpp b/trie.cpp index 729277bd..a3446a97 100644 --- a/trie.cpp +++ b/trie.cpp @@ -68,7 +68,7 @@ int trie::push_back (const char* key, const T& item) { } template -T& trie::operator[] (char* key) { +T& trie::operator[] (const char* key) { trie_node* n = this->root->child; char* subkey = key; -- cgit v1.2.3