diff options
Diffstat (limited to 'deps/v8/src/log-utils.h')
-rw-r--r-- | deps/v8/src/log-utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/log-utils.h b/deps/v8/src/log-utils.h index 3e70a96c8f..059e5a53c5 100644 --- a/deps/v8/src/log-utils.h +++ b/deps/v8/src/log-utils.h @@ -10,6 +10,7 @@ #include <cstdarg> #include "src/allocation.h" +#include "src/base/compiler-specific.h" #include "src/base/platform/mutex.h" #include "src/flags.h" @@ -62,10 +63,10 @@ class Log { ~MessageBuilder() { } // Append string data to the log message. - void Append(const char* format, ...); + void PRINTF_FORMAT(2, 3) Append(const char* format, ...); // Append string data to the log message. - void AppendVA(const char* format, va_list args); + void PRINTF_FORMAT(2, 0) AppendVA(const char* format, va_list args); // Append a character to the log message. void Append(const char c); |