getSearchTypeName() needs to always return std:wstring.
We cover all cases because our switch contains all current possibilities
for Search_Type.
But the compiler will still warn/error on this, depending on system
configuration.
Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
elide() needs to always return std:string.
We cover all cases because our switch contains all current possibilities
for ElideMode.
But the compiler will still warn/error on this, depending on system
configuration.
I would like to add a `return "";` or `return str;` or add a `default:`
case to the switch to silence this compiler complaint.
Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758