diff --git a/dune/xt/common/type_traits.hh b/dune/xt/common/type_traits.hh
index bca3ac5d07f69a70ebe8a50adeef922d87695e05..59896a62db4f5e7918068bb880e17ef93e03fa97 100644
--- a/dune/xt/common/type_traits.hh
+++ b/dune/xt/common/type_traits.hh
@@ -34,7 +34,7 @@
   template <>                                                                                                          \
   struct Typename<NAME>                                                                                                \
   {                                                                                                                    \
-    static const char* value()                                                                                         \
+    static const std::string value(bool fail_wo_typeid = false)                                                        \
     {                                                                                                                  \
       return #NAME;                                                                                                    \
     }                                                                                                                  \