diff --git a/include/stochtree/log.h b/include/stochtree/log.h index 9f64c31b..ca38fe39 100644 --- a/include/stochtree/log.h +++ b/include/stochtree/log.h @@ -110,7 +110,7 @@ class Log { Write(LogLevel::Warning, "Warning", format, val); va_end(val); } - static void Fatal(const char *format, ...) { + [[noreturn]] static void Fatal(const char *format, ...) { va_list val; const size_t kBufSize = 1024; char str_buf[kBufSize];