util/SplitString: add "noexcept"

This commit is contained in:
Max Kellermann 2017-05-16 10:23:50 +02:00
parent 66e3801b1e
commit 662842126d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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