From: Razvan Becheriu Date: Fri, 5 Jun 2020 15:11:01 +0000 (+0300) Subject: [#1266] fixed compilation X-Git-Tag: Kea-1.7.9~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e50f487e7bb01eca9c559dbb4e4643a326ac2b;p=thirdparty%2Fkea.git [#1266] fixed compilation --- diff --git a/src/lib/log/logger.h b/src/lib/log/logger.h index 65a470ae70..c31b740a1f 100644 --- a/src/lib/log/logger.h +++ b/src/lib/log/logger.h @@ -181,7 +181,7 @@ public: // The checks above and the assertion below ensure that the contents of // "name" plus a trailing null will fit into the space allocated for // "name_". - static_assert(MAX_LOGGER_NAME_SIZE < sizeof(name_)); + static_assert(MAX_LOGGER_NAME_SIZE < sizeof(name_), "name size too small"); // Do the copy, ensuring a trailing null in all cases.