Closed N-Dekker closed 5 months ago
Replaced lines of code of the form
image>Allocate(); image>FillBuffer(zero);
With image->AllocateInitialized();.
image->AllocateInitialized();
Cases found by the regular expression ^(.+->)Allocate.+;\r\n\1FillBuffer.
^(.+->)Allocate.+;\r\n\1FillBuffer
Follow-up to pull request https://github.com/InsightSoftwareConsortium/ITK/pull/4479 commit 47fe345cd81c8126e1a50d43c751cc67d6ebfc47 "ENH: Add AllocateInitialized() to ImageBase"
AllocateInitialized()
Replaced lines of code of the form
With
image->AllocateInitialized();
.Cases found by the regular expression
^(.+->)Allocate.+;\r\n\1FillBuffer
.Follow-up to pull request https://github.com/InsightSoftwareConsortium/ITK/pull/4479 commit 47fe345cd81c8126e1a50d43c751cc67d6ebfc47 "ENH: Add
AllocateInitialized()
to ImageBase"