util/SplitString: add "noexcept"
This commit is contained in:
parent
66e3801b1e
commit
662842126d
@ -34,7 +34,7 @@
|
||||
#include <string.h>
|
||||
|
||||
std::forward_list<std::string>
|
||||
SplitString(const char *s, char separator, bool strip)
|
||||
SplitString(const char *s, char separator, bool strip) noexcept
|
||||
{
|
||||
if (strip)
|
||||
s = StripLeft(s);
|
||||
|
@ -44,6 +44,6 @@
|
||||
* (and not a list with an empty string).
|
||||
*/
|
||||
std::forward_list<std::string>
|
||||
SplitString(const char *s, char separator, bool strip=true);
|
||||
SplitString(const char *s, char separator, bool strip=true) noexcept;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user