diff --git a/include/aidge/utils/StaticParameters.hpp b/include/aidge/utils/StaticParameters.hpp
index 1cedd584260103fb07781436cb9e7eeae134e048..7487312f6e5286a1c6165d7c6cf4e48af20ff4ce 100644
--- a/include/aidge/utils/StaticParameters.hpp
+++ b/include/aidge/utils/StaticParameters.hpp
@@ -106,7 +106,7 @@ public:
     }
 
     template <typename R, std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
-    constexpr typename std::enable_if<(SIZE <= 0), R&>::type get(std::size_t /*i*/) {
+    [[noreturn]] constexpr typename std::enable_if<(SIZE <= 0), R&>::type get(std::size_t /*i*/) {
         assert(false && "parameter not found");
     }
 
@@ -121,7 +121,7 @@ public:
     }
 
     template <std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
-    constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
+    [[noreturn]] constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
         assert(false && "parameter not found");
     }