summaryrefslogtreecommitdiff
path: root/db/db_impl/db_impl.h
diff options
context:
space:
mode:
authorPeter Dillinger <peterd@meta.com>2024-03-22 13:40:42 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2024-03-22 13:40:42 -0700
commitb515a5db3f8013d5a8b6c1deaf99b50b90bd5b81 (patch)
tree13be5534ec2b6db4834987c40360be58793a661b /db/db_impl/db_impl.h
parent3b736c4aa3b997cc8ca05fda0f004f6e414a8812 (diff)
Replace ScopedArenaIterator with ScopedArenaPtr<InternalIterator> (#12470)
Summary: ScopedArenaIterator is not an iterator. It is a pointer wrapper. And we don't need a custom implemented pointer wrapper when std::unique_ptr can be instantiated with what we want. So this adds ScopedArenaPtr<T> to replace those uses. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12470 Test Plan: CI (including ASAN/UBSAN) Reviewed By: jowlyzhang Differential Revision: D55254362 Pulled By: pdillinger fbshipit-source-id: cc96a0b9840df99aa807f417725e120802c0ae18
Diffstat (limited to 'db/db_impl/db_impl.h')
-rw-r--r--db/db_impl/db_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/db_impl/db_impl.h b/db/db_impl/db_impl.h
index a7181c9e0..244d979c1 100644
--- a/db/db_impl/db_impl.h
+++ b/db/db_impl/db_impl.h
@@ -59,7 +59,6 @@
#include "rocksdb/utilities/replayer.h"
#include "rocksdb/write_buffer_manager.h"
#include "table/merging_iterator.h"
-#include "table/scoped_arena_iterator.h"
#include "util/autovector.h"
#include "util/hash.h"
#include "util/repeatable_thread.h"