make test() static

This commit is contained in:
Krishna Vedala 2020-08-27 09:21:04 -04:00
parent 55c8c91b19
commit d50dd329e7
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -149,7 +149,7 @@ class trie {
* @brief Testing function * @brief Testing function
* @returns void * @returns void
*/ */
void test() { static void test() {
trie root; trie root;
root.insert("hello"); root.insert("hello");
root.insert("world"); root.insert("world");