remove clever use of std::ignore
MODIFY
src/vcpkg-test/util.cpp
src/vcpkg-test/util.cpp
@@ -153,7 +153,7 @@ namespace vcpkg::Test
ec.assign(errno, std::system_category());
}
#else
- std::ignore = ec;
+ static_cast<void>(ec);
vcpkg::Checks::exit_with_message(VCPKG_LINE_INFO, no_filesystem_message);
#endif
}
@@ -175,7 +175,7 @@ namespace vcpkg::Test
#elif FILESYSTEM_SYMLINK == FILESYSTEM_SYMLINK_UNIX
::vcpkg::Test::create_symlink(target, file, ec);
#else
- std::ignore = ec;
+ static_cast<void>(ec);
vcpkg::Checks::exit_with_message(VCPKG_LINE_INFO, no_filesystem_message);
#endif
}

remove clever use of std::ignore