diff --git a/Modules/Core/Common/include/itkVariableLengthVector.h b/Modules/Core/Common/include/itkVariableLengthVector.h index 24e6a0680ba..e1bfba39fcb 100644 --- a/Modules/Core/Common/include/itkVariableLengthVector.h +++ b/Modules/Core/Common/include/itkVariableLengthVector.h @@ -770,7 +770,8 @@ class ITK_TEMPLATE_EXPORT VariableLengthVector * parameter). * \deprecated Please consider calling `std::make_unique(size)` instead. */ - [[deprecated("Please consider calling `std::make_unique(size)` instead.")]] [[nodiscard]] TValue * + ITK_FUTURE_DEPRECATED("Please consider calling `std::make_unique(size)` instead.") + [[nodiscard]] TValue * AllocateElements(ElementIdentifier size) const; #endif