summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-16 08:34:10 +0100
committermadmaxoft <github@xoft.cz>2014-01-16 08:34:10 +0100
commitba49a32c3a5b10bfe1ae90edd08f06acad0389fd (patch)
tree88454b07729b624e96946d0825f3d7bbb1b9e572 /src/StringUtils.h
parentMerge pull request #545 from mc-server/VarArgs (diff)
downloadcuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar.gz
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar.bz2
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar.lz
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar.xz
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.tar.zst
cuberite-ba49a32c3a5b10bfe1ae90edd08f06acad0389fd.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index 35faeb01b..dfbfc2a75 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -21,12 +21,8 @@ typedef std::list<AString> AStringList;
-/** Add the formated string to the existing data in the string
-It is silly to need to specify the arguments twice, but it is required for x64 / GCC:
-Ref.: issue #541, http://www.bailopan.net/blog/?p=30
-va_copy is not available until C++11, so we need to make do with passing a duplicate.
-*/
-extern AString & AppendVPrintf(AString & str, const char * format, va_list args, va_list argsCopy);
+/** Add the formated string to the existing data in the string */
+extern AString & AppendVPrintf(AString & str, const char * format, va_list args);
/// Output the formatted text into the string
extern AString & Printf (AString & str, const char * format, ...);