diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-14 14:11:49 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-14 14:11:49 +0100 |
commit | cd6ab5617cd7b26b13cfe26a950ca17fecefd550 (patch) | |
tree | d607161eb1a1c519e519aa1f32ee45dbcc3f587e /src/StringUtils.h | |
parent | Merge branch 'master' into warnings (diff) | |
download | cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.gz cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.bz2 cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.lz cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.xz cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.zst cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.zip |
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r-- | src/StringUtils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h index 728ce31e6..4feff7553 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -22,16 +22,16 @@ typedef std::list<AString> AStringList; /** Add the formated string to the existing data in the string */ -extern AString & AppendVPrintf(AString & str, const char * format, va_list args) FORMATSTRING(2,0); +extern AString & AppendVPrintf(AString & str, const char * format, va_list args) FORMATSTRING(2, 0); /// Output the formatted text into the string -extern AString & Printf (AString & str, const char * format, ...) FORMATSTRING(2,3); +extern AString & Printf (AString & str, const char * format, ...) FORMATSTRING(2, 3); /// Output the formatted text into string, return string by value -extern AString Printf(const char * format, ...) FORMATSTRING(1,2); +extern AString Printf(const char * format, ...) FORMATSTRING(1, 2); /// Add the formatted string to the existing data in the string -extern AString & AppendPrintf (AString & str, const char * format, ...) FORMATSTRING(2,3); +extern AString & AppendPrintf (AString & str, const char * format, ...) FORMATSTRING(2, 3); /// Split the string at any of the listed delimiters, return as a stringvector extern AStringVector StringSplit(const AString & str, const AString & delim); |