Fix -Wvarargs warnings
This commit is contained in:
parent
ff5564e4ce
commit
2cfc903cb9
1 changed files with 1 additions and 1 deletions
2
util.h
2
util.h
|
@ -82,7 +82,7 @@ void static inline Sleep(int nMilliSec) {
|
||||||
|
|
||||||
std::string vstrprintf(const std::string &format, va_list ap);
|
std::string vstrprintf(const std::string &format, va_list ap);
|
||||||
|
|
||||||
std::string static inline strprintf(const std::string &format, ...) {
|
std::string static inline strprintf(const std::string format, ...) {
|
||||||
va_list arg_ptr;
|
va_list arg_ptr;
|
||||||
va_start(arg_ptr, format);
|
va_start(arg_ptr, format);
|
||||||
std::string ret = vstrprintf(format, arg_ptr);
|
std::string ret = vstrprintf(format, arg_ptr);
|
||||||
|
|
Loading…
Reference in a new issue