From 2e7a386229accfc7ddb069120a8d506d2cf6ee17 Mon Sep 17 00:00:00 2001 From: Andrew Kryczka Date: Tue, 29 Mar 2022 12:17:49 -0700 Subject: [PATCH] fixup for C++11 --- db/db_impl/db_impl_open.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_impl/db_impl_open.cc b/db/db_impl/db_impl_open.cc index ec5fa6796..4a79280ae 100644 --- a/db/db_impl/db_impl_open.cc +++ b/db/db_impl/db_impl_open.cc @@ -1274,7 +1274,7 @@ Status DBImpl::RecoverLogFiles(const std::vector& wal_numbers, std::unique_ptr wal_deletion; if (flushed) { - wal_deletion = std::make_unique(); + wal_deletion = std::unique_ptr(new VersionEdit()); if (immutable_db_options_.track_and_verify_wals_in_manifest) { wal_deletion->DeleteWalsBefore(max_wal_number + 1); }