diff --git a/data_structure/trie_modern.cpp b/data_structure/trie_modern.cpp index 0214969f0..098ba1bb9 100644 --- a/data_structure/trie_modern.cpp +++ b/data_structure/trie_modern.cpp @@ -93,7 +93,7 @@ class Trie { public: // constructor to initialise the root of the trie. - Trie() : m_root(std::make_shared()){}; + Trie() : m_root(std::make_shared()) {} /** * Insert a word into the trie.