1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-35632: HandlerSocket uses deprecated auto_ptr

Let us suppress the deprecation warnings more specifically.

This fixes up commit d76f5774fe
This commit is contained in:
Marko Mäkelä
2024-12-12 11:58:11 +02:00
parent 965e65d6bb
commit 9a25f2a5bb
3 changed files with 10 additions and 2 deletions

View File

@@ -19,6 +19,11 @@
#include "string_ref.hpp"
#include "string_buffer.hpp"
#ifdef __GNUC__
/* auto_ptr is deprecated */
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
namespace dena {
struct hstcpcli_filter {