fix build error
This commit is contained in:
@@ -40,8 +40,10 @@ namespace Romeo
|
||||
size_t Size = 0;
|
||||
size_t Capacity = 0;
|
||||
|
||||
#if COMPILER_CLANG
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wformat-nonliteral"
|
||||
#endif
|
||||
void Append(const char* format, ...)
|
||||
{
|
||||
va_list args;
|
||||
@@ -75,7 +77,9 @@ namespace Romeo
|
||||
Size += uLen;
|
||||
Buffer[Size] = '\0';
|
||||
}
|
||||
#if COMPILER_CLANG
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
};
|
||||
|
||||
static Juliet::String ReadFileContent(Juliet::Arena* arena, const char* pathBuf)
|
||||
|
||||
Reference in New Issue
Block a user