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