diff options
author | Max Kellermann <max@duempel.org> | 2013-10-18 12:24:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-18 12:24:47 +0200 |
commit | 58fe352fdaff93737d067a0cb90d83ebd5cbe180 (patch) | |
tree | 31ebf5e04b4cbc85258d0b8a059a5cf323427836 /src/util/StringUtil.hxx | |
parent | b105093dcdfc3f860a2d8f0c84bc94997efa50c4 (diff) | |
download | mpd-58fe352fdaff93737d067a0cb90d83ebd5cbe180.tar.gz mpd-58fe352fdaff93737d067a0cb90d83ebd5cbe180.tar.xz mpd-58fe352fdaff93737d067a0cb90d83ebd5cbe180.zip |
util/StringUtil: rename strchug_fast_c() to strchug_fast()
Overload the name.
Diffstat (limited to '')
-rw-r--r-- | src/util/StringUtil.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/util/StringUtil.hxx b/src/util/StringUtil.hxx index dc3e101b3..1c67910a9 100644 --- a/src/util/StringUtil.hxx +++ b/src/util/StringUtil.hxx @@ -31,16 +31,13 @@ */ gcc_pure const char * -strchug_fast_c(const char *p); +strchug_fast(const char *p); -/** - * Same as strchug_fast_c(), but works with a writable pointer. - */ gcc_pure static inline char * strchug_fast(char *p) { - return const_cast<char *>(strchug_fast_c(p)); + return const_cast<char *>(strchug_fast((const char *)p)); } /** |