erhanbaris/SymSpellPlusPlus

Example usage removes const from string literal for no reason

tomalakgeretkal opened this issue · 0 comments

Usage example casts string literal to char*, which is not a good thing to do (there is a reason we have const char* here!).

It's needless anyway because Lookup takes const char* so you're only adding the const back again.