diff options
author | Max Kellermann <max@musicpd.org> | 2017-11-10 19:24:33 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-11-10 19:24:33 +0100 |
commit | 49784513b13ae8c5a5811fab8439463964a9e151 (patch) | |
tree | 7c2bd603ff23a4cab138b38a15e2892588621dfd /src/util/UriUtil.cxx | |
parent | 523051132d77cb5da01847592c4c1e1faae93c6a (diff) |
util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
Diffstat (limited to 'src/util/UriUtil.cxx')
-rw-r--r-- | src/util/UriUtil.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/UriUtil.cxx b/src/util/UriUtil.cxx index 61b90da29..d976e6b2e 100644 --- a/src/util/UriUtil.cxx +++ b/src/util/UriUtil.cxx @@ -41,7 +41,7 @@ gcc_pure static bool IsValidScheme(StringView p) noexcept { - if (p.IsEmpty() || !IsValidSchemeStart(p.front())) + if (p.empty() || !IsValidSchemeStart(p.front())) return false; for (size_t i = 1; i < p.size; ++i) |