Get rid of findCommand() which duplicaed commandBelongs().
There is no need for two functions for finding the value of a key in the map.
This commit is contained in:
parent
f256f0107e
commit
a7b67a2cac
2 changed files with 1 additions and 17 deletions
|
|
@ -104,11 +104,6 @@ private:
|
|||
*/
|
||||
std::string stringToLower(const std::string &stringToConvert);
|
||||
|
||||
/*
|
||||
* Finds out if a command exists (is a possible command)
|
||||
* returns -1 if no match is found
|
||||
*/
|
||||
bool findCommand(const std::string &smallString);
|
||||
/*
|
||||
* isSectionIndicator returns a boolean if the command is a section indicator
|
||||
* This is a helper method for finding the end of a paragraph
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue