diff --git a/src/base/string.cpp b/src/base/string.cpp index 0dbc4e59..e8eeb2df 100644 --- a/src/base/string.cpp +++ b/src/base/string.cpp @@ -32,13 +32,13 @@ String String::Printf(char const *format, ...) va_list ap; va_start(ap, format); - ret = String::Printf(format, ap); + ret = String::VPrintf(format, ap); va_end(ap); return ret; } -String String::Printf(char const *format, va_list ap) +String String::VPrintf(char const *format, va_list ap) { #if defined __CELLOS_LV2__ using std::vsnprintf; diff --git a/src/lol/base/string.h b/src/lol/base/string.h index c287fa8d..8f343c78 100644 --- a/src/lol/base/string.h +++ b/src/lol/base/string.h @@ -268,7 +268,7 @@ public: #endif static String Printf(char const *format, ...) LOL_FMT_ATTR(1, 2); #undef LOL_FMT_ATTR - static String Printf(char const *format, va_list ap); + static String VPrintf(char const *format, va_list ap); }; inline bool operator ==(char const* sz, String const &s)