diff options
author | Peter Powell <petpow@saberuk.com> | 2018-08-21 15:24:14 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-08-21 15:47:46 +0100 |
commit | bc4751a3279b3c058b2f0c5af5fdebbab10474d3 (patch) | |
tree | 0a665fae54926e2d8c0ddee307ef902bc2ccc7fd /src/modules/extra/m_ssl_gnutls.cpp | |
parent | 71c367f89f5384eb05cf191f63ed5094e90b46ad (diff) |
Fix warnings about using std::auto_ptr on C++11 or newer.
Diffstat (limited to 'src/modules/extra/m_ssl_gnutls.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index d7ca20742..8bd73b2bb 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -43,11 +43,12 @@ #elif defined __GNUC__ # if __GNUC__ < 6 # pragma GCC diagnostic ignored "-pedantic" -# else -# pragma GCC diagnostic ignored "-Wdeprecated-declarations" # endif #endif +// Fix warnings about using std::auto_ptr on C++11 or newer. +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + #include <gnutls/gnutls.h> #include <gnutls/x509.h> |