aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagString.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-10 22:01:29 +0200
committerMax Kellermann <max@duempel.org>2014-10-10 22:07:19 +0200
commitb7a1954c335b2324878c5c30b47828b092ed96c2 (patch)
treee18b1ad21cbc07731cd42cc4dfdc85cd9bde465a /src/tag/TagString.hxx
parent6520589a376bfc7ffbee899e6f689dd6319d2e68 (diff)
downloadmpd-b7a1954c335b2324878c5c30b47828b092ed96c2.tar.gz
mpd-b7a1954c335b2324878c5c30b47828b092ed96c2.tar.xz
mpd-b7a1954c335b2324878c5c30b47828b092ed96c2.zip
TagString: return WritableBuffer<char>
Diffstat (limited to '')
-rw-r--r--src/tag/TagString.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tag/TagString.hxx b/src/tag/TagString.hxx
index a1a9d9d15..eccc2aa47 100644
--- a/src/tag/TagString.hxx
+++ b/src/tag/TagString.hxx
@@ -25,8 +25,10 @@
#include <stddef.h>
-gcc_malloc gcc_nonnull_all
-char *
+template<typename T> struct WritableBuffer;
+
+gcc_nonnull_all
+WritableBuffer<char>
FixTagString(const char *p, size_t length);
#endif