Fix compiler warnings from GCC.

This commit is contained in:
Rasmus Munk Larsen 2023-10-02 11:24:53 -07:00 committed by Lofty
parent cb9f318d37
commit a6247cba42
1 changed files with 3 additions and 1 deletions

View File

@ -316,7 +316,9 @@ inline std::string vstringf(const char *fmt, va_list ap)
#endif
}
inline std::string stringf(const char *fmt, ...) YS_ATTRIBUTE(format(printf, 1, 2))
std::string stringf(const char *fmt, ...) YS_ATTRIBUTE(format(printf, 1, 2));
inline std::string stringf(const char *fmt, ...)
{
std::string string;
va_list ap;