remove clever use of std::ignore

This commit is contained in:
Nicole Mazzuca 2019-08-10 12:27:49 -07:00 committed by nicole mazzuca
parent 58f95cc856
commit 29ddf1a5c2

View File

@ -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
}