diff --git a/Framework/StackInterface/SecondaryView.h b/Framework/StackInterface/SecondaryView.h
index ae8b62c661cc834c70645e25725ca684c4a0c7c0..5ed96731a074becedc0272b6164c433ed996fb80 100644
--- a/Framework/StackInterface/SecondaryView.h
+++ b/Framework/StackInterface/SecondaryView.h
@@ -428,7 +428,7 @@ namespace corsika::stack {
      * itself.
      */
     template <typename Particle>
-    DefaultSecondaryProducer([[maybe_unused]] Particle const&) {
+    DefaultSecondaryProducer(Particle const&) {
       C8LOG_TRACE("DefaultSecondaryProducer::DefaultSecondaryProducer(Particle&)");
     }
   };