mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
fix function return
This commit is contained in:
@@ -74,6 +74,10 @@ bool deleteString(trie* root, std::string str, int index) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/* should not return here */
|
||||
std::cout << __func__ << ":" << __LINE__ << "Should not reach this line\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
Reference in New Issue
Block a user