]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Re-add memory_allocator.h include from cache.h (#11229)
authorPeter Dillinger <peterd@fb.com>
Thu, 16 Feb 2023 16:07:45 +0000 (08:07 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 16 Feb 2023 16:07:45 +0000 (08:07 -0800)
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

include/rocksdb/cache.h

index 078577351d54908be284be43c2248e82ac381339..da7d071790628b39c9dec2621e9dfcea68bcb3e2 100644 (file)
 #include <string>
 
 #include "rocksdb/compression_type.h"
+#include "rocksdb/memory_allocator.h"
 
 namespace ROCKSDB_NAMESPACE {
 
 class Cache;  // defined in advanced_cache.h
 struct ConfigOptions;
-class MemoryAllocator;
 class SecondaryCache;
 
 // Classifications of block cache entries.