Log: add "noexcept"

This commit is contained in:
Max Kellermann
2017-05-16 07:00:53 +02:00
parent 0a3a5a7c65
commit 377a2860cc
6 changed files with 61 additions and 57 deletions

View File

@@ -26,7 +26,7 @@
#include <stdio.h>
void
Log(const Domain &domain, gcc_unused LogLevel level, const char *msg)
Log(const Domain &domain, gcc_unused LogLevel level, const char *msg) noexcept
{
fprintf(stderr, "[%s] %s\n", domain.GetName(), msg);
}