[refactor] fix warings when compile with clang (#8069)

This commit is contained in:
Zhengguo Yang
2022-02-19 11:29:02 +08:00
committed by GitHub
parent 8892780091
commit 50864aca7d
200 changed files with 1750 additions and 2617 deletions

View File

@ -148,7 +148,7 @@ class MemTracker;
/// same Client, PageHandle or BufferHandle.
class BufferPool : public CacheLineAligned {
public:
class BufferAllocator;
struct BufferAllocator;
class BufferHandle;
class ClientHandle;
class PageHandle;
@ -295,7 +295,7 @@ private:
class Client;
class FreeBufferArena;
class PageList;
struct Page;
class Page;
/// Allocator for allocating and freeing all buffer memory and managing lists of free
/// buffers and clean pages.