Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Fix compile warning C4858: discarding return value in std::remove #1660

Merged
merged 2 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/sccan.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,7 @@ sccan(std::vector<std::string> args, std::ostream * /*out_stream = nullptr */)
// which the sccanparser should handle
args.insert(args.begin(), "sccan");

std::remove(args.begin(), args.end(), std::string(""));
std::ignore = std::remove(args.begin(), args.end(), std::string(""));
int argc = args.size();
char ** argv = new char *[args.size() + 1];
for (unsigned int i = 0; i < args.size(); ++i)
Expand Down
2 changes: 1 addition & 1 deletion SuperBuild/External_ITKv5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ if(NOT DEFINED ${extProjName}_DIR AND NOT ${USE_SYSTEM_${extProjName}})

### --- End Project specific additions
set(${proj}_REPOSITORY ${git_protocol}://github.com/InsightSoftwareConsortium/ITK.git)
set(${proj}_GIT_TAG d45127b5a3296b7f1721b57e0ffe8e0071d0c64f) # 2023-12-27
set(${proj}_GIT_TAG 66ab5b14c476d057ed46a4daba05b710681160e6) # 2024-01-17
set(ITK_VERSION_ID ITK-5.4) ### NOTE: When updating GIT_TAG, also update ITK_VERSION_ID if ITK version has changed

ExternalProject_Add(${proj}
Expand Down