diff --git a/dune/xt/common/type_traits.hh b/dune/xt/common/type_traits.hh
index a6973a1d33e1c1ba2b800ff7fb7e830559d5d5e2..e0f7ad79893eb886a92b1005cb20a75407809f22 100644
--- a/dune/xt/common/type_traits.hh
+++ b/dune/xt/common/type_traits.hh
@@ -224,7 +224,7 @@ struct is_complex<std::complex<T>> : public std::true_type
     };                                                                                                                 \
                                                                                                                        \
     static const bool value = helper<T_local>::value;                                                                  \
-  };
+  }
 
 /**
   * \brief Macro to statically check a type for a typedef.
@@ -258,7 +258,7 @@ DXTC_has_typedef(Bar)< Foo >::value
     static std::false_type helper(...);                                                                                \
                                                                                                                        \
     static const bool value = decltype(helper<T_local>(0))::value;                                                     \
-  };
+  }
 
 /**
   * \brief Macro to statically check a class or struct for a static member.