fix warnings from asio/ssl includes

This commit is contained in:
Alden Torres 2017-10-13 11:49:30 -04:00 committed by Arvid Norberg
parent 4e63c55057
commit 58a76e26a8
2 changed files with 4 additions and 0 deletions

View File

@ -50,7 +50,9 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sstream>
#ifdef TORRENT_USE_OPENSSL
#include "libtorrent/aux_/disable_warnings_push.hpp"
#include <boost/asio/ssl/context.hpp>
#include "libtorrent/aux_/disable_warnings_pop.hpp"
#endif
using namespace std::placeholders;

View File

@ -41,7 +41,9 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/socket_io.hpp"
#ifdef TORRENT_USE_OPENSSL
#include "libtorrent/aux_/disable_warnings_push.hpp"
#include <boost/asio/ssl/context.hpp>
#include "libtorrent/aux_/disable_warnings_pop.hpp"
#endif
using namespace std::placeholders;