From 2d7378ddcd962f2e63e8c9fde03b3c910b904add Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Mon, 3 Oct 2016 19:32:20 -0400 Subject: [PATCH] supress warnings in hashers headers include (#1178) --- include/libtorrent/hasher.hpp | 2 ++ include/libtorrent/hasher512.hpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/libtorrent/hasher.hpp b/include/libtorrent/hasher.hpp index 08a502968..34bdb1f6e 100644 --- a/include/libtorrent/hasher.hpp +++ b/include/libtorrent/hasher.hpp @@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #include +#include "libtorrent/aux_/disable_warnings_push.hpp" #ifdef TORRENT_USE_LIBGCRYPT #include @@ -58,6 +59,7 @@ extern "C" { #else #include "libtorrent/sha1.hpp" #endif +#include "libtorrent/aux_/disable_warnings_pop.hpp" namespace libtorrent { diff --git a/include/libtorrent/hasher512.hpp b/include/libtorrent/hasher512.hpp index 62fb9fda8..16f64c489 100644 --- a/include/libtorrent/hasher512.hpp +++ b/include/libtorrent/hasher512.hpp @@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. #include +#include "libtorrent/aux_/disable_warnings_push.hpp" #ifdef TORRENT_USE_LIBGCRYPT #include @@ -58,6 +59,7 @@ extern "C" { #else #include "libtorrent/sha512.hpp" #endif +#include "libtorrent/aux_/disable_warnings_pop.hpp" namespace libtorrent {