mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-07 05:42:03 +08:00
make test() static
This commit is contained in:
@@ -149,7 +149,7 @@ class trie {
|
||||
* @brief Testing function
|
||||
* @returns void
|
||||
*/
|
||||
void test() {
|
||||
static void test() {
|
||||
trie root;
|
||||
root.insert("hello");
|
||||
root.insert("world");
|
||||
|
||||
Reference in New Issue
Block a user