diff options
author | Max Kellermann <max@duempel.org> | 2014-08-07 14:53:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-07 16:08:02 +0200 |
commit | 87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802 (patch) | |
tree | 9f2170889dfbfff90816d7d4eea7b19373ba213f /src/util/StringUtil.hxx | |
parent | db6db517424e09bab9a12934e9df6807a7049926 (diff) | |
download | mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.gz mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.xz mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.zip |
util/StringUtil: rename strchug_fast() to StripLeft()
Diffstat (limited to 'src/util/StringUtil.hxx')
-rw-r--r-- | src/util/StringUtil.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/StringUtil.hxx b/src/util/StringUtil.hxx index e8e3b2b5d..6bccbeffe 100644 --- a/src/util/StringUtil.hxx +++ b/src/util/StringUtil.hxx @@ -27,19 +27,16 @@ /** * Returns a pointer to the first non-whitespace character in the * string, or to the end of the string. - * - * This is a faster version of g_strchug(), because it does not move - * data. */ gcc_pure const char * -strchug_fast(const char *p); +StripLeft(const char *p); gcc_pure static inline char * -strchug_fast(char *p) +StripLeft(char *p) { - return const_cast<char *>(strchug_fast((const char *)p)); + return const_cast<char *>(StripLeft((const char *)p)); } /** |