summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-04 20:21:48 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-23 01:32:47 +0200
commit330626ab22fe2e87afa5306c5f4039088c41b49e (patch)
tree86a5c7e0f0eb34743d186cbd712d368fed16f748 /src/StringUtils.h
parentRemove some unused inclusions (diff)
downloadcuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.gz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.bz2
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.lz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.xz
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.tar.zst
cuberite-330626ab22fe2e87afa5306c5f4039088c41b49e.zip
Diffstat (limited to '')
-rw-r--r--src/StringUtils.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index 0013762a2..12cd06140 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -23,25 +23,25 @@ typedef std::map<AString, AString> AStringMap;
/** Output the formatted text into the string.
Returns a_Dst. */
-extern AString & vPrintf(AString & a_Dst, const char * format, fmt::printf_args args);
+extern AString & vPrintf(AString & a_Dst, const char * a_Format, fmt::printf_args a_ArgList);
template <typename... Args>
-AString & Printf(AString & a_Dst, const char * a_Format, const Args & ... args)
+AString & Printf(AString & a_Dst, const char * a_Format, const Args & ... a_Args)
{
- return vPrintf(a_Dst, a_Format, fmt::make_printf_args(args...));
+ return vPrintf(a_Dst, a_Format, fmt::make_printf_args(a_Args...));
}
/** Output the formatted text into string
Returns the formatted string by value. */
-extern AString vPrintf(const char * format, fmt::printf_args args);
+extern AString vPrintf(const char * a_Format, fmt::printf_args a_ArgList);
template <typename... Args>
-AString Printf(const char * a_Format, const Args & ... args)
+AString Printf(const char * a_Format, const Args & ... a_Args)
{
- return vPrintf(a_Format, fmt::make_printf_args(args...));
+ return vPrintf(a_Format, fmt::make_printf_args(a_Args...));
}
/** Add the formated string to the existing data in the string.
Returns a_Dst. */
-extern AString & vAppendPrintf(AString & a_Dst, const char * a_Format, fmt::printf_args args);
+extern AString & vAppendPrintf(AString & a_Dst, const char * a_Format, fmt::printf_args a_ArgList);
template <typename... Args>
extern AString & AppendPrintf(AString & a_Dst, const char * a_Format, const Args & ... a_Args)
{