mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Fix warnings about using std::auto_ptr on C++11 or newer.
This commit is contained in:
parent
71c367f89f
commit
bc4751a327
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user