1
0
mirror of synced 2026-05-04 07:10:19 +00:00

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

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;