util/String{Compare,API}: add more "noexcept"

This commit is contained in:
Max Kellermann
2017-05-16 23:02:36 +02:00
parent 0fcc28a108
commit 60bd60db03
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
#include <wchar.h>
static inline bool
StringIsEmpty(const wchar_t *string)
StringIsEmpty(const wchar_t *string) noexcept
{
return *string == 0;
}