1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -9,6 +9,11 @@
#ifndef DENA_DATABASE_HPP
#define DENA_DATABASE_HPP
#ifdef __GNUC__
/* auto_ptr is deprecated */
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include <string>
#include <memory>
#include <vector>