mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-35040: Fix std::unique deleter for clang++-20 -stdlib=libc++
Thanks to Khem Raj for reporting this.
This commit is contained in:
parent
23debf214f
commit
170e4555e2
1 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@ Street, Fifth Floor, Boston, MA 02110-1335 USA
|
|||
#ifdef _WIN32
|
||||
#include <direct.h> /* rmdir */
|
||||
#endif
|
||||
#include <functional>
|
||||
|
||||
#define ROCKSDB_BACKUP_DIR "#rocksdb"
|
||||
|
||||
|
@ -1851,7 +1852,7 @@ is_aria_log_dir_file(const datadir_node_t &node)
|
|||
bool
|
||||
copy_back_aria_logs(const char *dstdir)
|
||||
{
|
||||
std::unique_ptr<ds_ctxt_t, void (&)(ds_ctxt_t*)>
|
||||
std::unique_ptr<ds_ctxt_t, std::function<void(ds_ctxt_t*)>>
|
||||
ds_ctxt_aria_log_dir_path(ds_create(dstdir, DS_TYPE_LOCAL), ds_destroy);
|
||||
|
||||
datadir_node_t node;
|
||||
|
|
Loading…
Reference in a new issue