mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
make test() static
This commit is contained in:
parent
55c8c91b19
commit
d50dd329e7
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user