Re-add memory_allocator.h include from cache.h (#11229)

Summary:
Enough users of NewJemallocNodumpAllocator() with cache.h to justify keeping it. (Reverting one little part of https://github.com/facebook/rocksdb/issues/11192)

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11229

Test Plan: CI

Reviewed By: ajkr

Differential Revision: D43337140

Pulled By: pdillinger

fbshipit-source-id: 886b27b96b395619a4209f51b9b7787f4fe89e57
oxigraph-8.1.1
Peter Dillinger 2 years ago committed by Facebook GitHub Bot
parent ab22e79824
commit 88056ea6cb
  1. 2
      include/rocksdb/cache.h

@ -16,12 +16,12 @@
#include <string> #include <string>
#include "rocksdb/compression_type.h" #include "rocksdb/compression_type.h"
#include "rocksdb/memory_allocator.h"
namespace ROCKSDB_NAMESPACE { namespace ROCKSDB_NAMESPACE {
class Cache; // defined in advanced_cache.h class Cache; // defined in advanced_cache.h
struct ConfigOptions; struct ConfigOptions;
class MemoryAllocator;
class SecondaryCache; class SecondaryCache;
// Classifications of block cache entries. // Classifications of block cache entries.

Loading…
Cancel
Save