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&); };