mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-35837 Move to c++17
Move from c++11 to c++17.
This commit is contained in:
committed by
Dave Gosselin
parent
2563839853
commit
cacaaebf01
@@ -19,11 +19,6 @@
|
||||
#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 {
|
||||
@@ -35,7 +30,7 @@ struct hstcpcli_filter {
|
||||
};
|
||||
|
||||
struct hstcpcli_i;
|
||||
typedef std::auto_ptr<hstcpcli_i> hstcpcli_ptr;
|
||||
typedef std::unique_ptr<hstcpcli_i> hstcpcli_ptr;
|
||||
|
||||
struct hstcpcli_i {
|
||||
virtual ~hstcpcli_i() = default;
|
||||
|
Reference in New Issue
Block a user