]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1266] fixed compilation
authorRazvan Becheriu <razvan@isc.org>
Fri, 5 Jun 2020 15:11:01 +0000 (18:11 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 5 Jun 2020 15:11:01 +0000 (18:11 +0300)
src/lib/log/logger.h

index 65a470ae7099b7d5708c10d3e26093a99fc3893d..c31b740a1fb65f634f862f322e01bb007b8404e3 100644 (file)
@@ -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.