From 633a47f85b56465de2a6a325cffcc29cb1f4fadc Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sun, 31 Oct 2021 20:50:34 -0400 Subject: [PATCH] MSVC warning workaround for destroy --- include/boost/core/noinit_adaptor.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/core/noinit_adaptor.hpp b/include/boost/core/noinit_adaptor.hpp index 13ce4c8..962b6e4 100644 --- a/include/boost/core/noinit_adaptor.hpp +++ b/include/boost/core/noinit_adaptor.hpp @@ -56,6 +56,7 @@ struct noinit_adaptor template void destroy(U* p) { p->~U(); + (void)p; } };