diff options
author | Max Kellermann <max@musicpd.org> | 2017-05-16 23:02:36 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-05-16 23:02:36 +0200 |
commit | 60bd60db03f361e49c1172505a895f0ea7ba915f (patch) | |
tree | 9cb7c16e834c6c2e65dfed382b65d620a7c1f086 /src/util/StringCompare.hxx | |
parent | 0fcc28a108cbc5188faef341b533d0ff1644ba2f (diff) |
util/String{Compare,API}: add more "noexcept"
Diffstat (limited to 'src/util/StringCompare.hxx')
-rw-r--r-- | src/util/StringCompare.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/StringCompare.hxx b/src/util/StringCompare.hxx index 32993e2ae..97c7762cf 100644 --- a/src/util/StringCompare.hxx +++ b/src/util/StringCompare.hxx @@ -38,7 +38,7 @@ #endif static inline bool -StringIsEmpty(const char *string) +StringIsEmpty(const char *string) noexcept { return *string == 0; } |