From d50dd329e74a246e0b939e2baf72539946e6226a Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Thu, 27 Aug 2020 09:21:04 -0400 Subject: [PATCH] make test() static --- data_structures/trie_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/trie_tree.cpp b/data_structures/trie_tree.cpp index 9a4931c20..d299d176d 100644 --- a/data_structures/trie_tree.cpp +++ b/data_structures/trie_tree.cpp @@ -149,7 +149,7 @@ class trie { * @brief Testing function * @returns void */ -void test() { +static void test() { trie root; root.insert("hello"); root.insert("world");