Commit 34edbc8
COMP: Make VariableLengthVector::AllocateElements ITK_FUTURE_DEPRECATED
This member function is only marked `ITK_FUTURE_LEGACY_REMOVE`, so using this
member function should only trigger a warning when legacy support is removed
_and_ `ITK_LEGACY_SILENT` is off.
Aims to fix warnings like:
itkVariableLengthVectorPython.cpp(5150): warning C4996: 'itk::VariableLengthVector::AllocateElements': Please consider calling `std::make_unique<TValue[]>(size)` instead.
At Windows_NT-Build4935-main-Python (https://open.cdash.org/builds/11095793)
As reported by Matt McCormick at pull request #58631 parent 65353ea commit 34edbc8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
| 773 | + | |
| 774 | + | |
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| |||
0 commit comments