[vcpkg] Avoid use of atomic copy constructor on older compilers
MODIFY
src/vcpkg/base/checks.cpp
src/vcpkg/base/checks.cpp
@@ -10,7 +10,7 @@ namespace vcpkg::Checks
{
[[noreturn]] static void cleanup_and_exit(const int exit_code)
{
- static std::atomic<bool> have_entered = false;
+ static std::atomic<bool> have_entered{false};
if (have_entered) std::terminate();
have_entered = true;

[vcpkg] Avoid use of atomic copy constructor on older compilers