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:
@ -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>
|
||||
|
Reference in New Issue
Block a user