]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix warning in Assert macro 18189/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 3 Mar 2025 21:44:00 +0000 (16:44 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 3 Mar 2025 21:44:04 +0000 (16:44 -0500)
include/deal.II/base/exception_macros.h

index 53c72169f3983ace13144428d8ee0f10c4074ae0..6a6bef4810d90927cd7401bc4ad34648b7cc77c8 100644 (file)
@@ -641,7 +641,8 @@ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
         {                      \
           if constexpr (false) \
             if (!(cond))       \
-              ;                \
+              {                \
+              }                \
         }                      \
       while (false)
 #  endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.