From 49ebef6eebcb9c7dbc0cb398c1b427fe11e95dd3 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Tue, 6 Sep 2016 00:28:28 -0400 Subject: [PATCH] using std::aligned_storage (#1066) --- include/libtorrent/aux_/allocating_handler.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp index fce0e6a55..67d75f06a 100644 --- a/include/libtorrent/aux_/allocating_handler.hpp +++ b/include/libtorrent/aux_/allocating_handler.hpp @@ -35,9 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/config.hpp" -#include "libtorrent/aux_/disable_warnings_push.hpp" -#include -#include "libtorrent/aux_/disable_warnings_pop.hpp" +#include namespace libtorrent { namespace aux { @@ -58,7 +56,7 @@ namespace libtorrent { namespace aux #else handler_storage() {} #endif - boost::aligned_storage bytes; + typename std::aligned_storage::type bytes; private: handler_storage(handler_storage const&); };