mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Delete unneeded changes
(cherry picked from commit e28e83673d975f00b6df4c0d2a61e8015b2d434b)
This commit is contained in:
parent
7ff447de68
commit
ab70de1dc9
@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <base/isSharedPtrUnique.h>
|
||||
#include <Interpreters/Cache/Guards.h>
|
||||
#include <Interpreters/Cache/IFileCachePriority.h>
|
||||
#include <Interpreters/Cache/FileCacheKey.h>
|
||||
@ -32,7 +35,7 @@ struct FileSegmentMetadata : private boost::noncopyable
|
||||
|
||||
explicit FileSegmentMetadata(FileSegmentPtr && file_segment_);
|
||||
|
||||
bool releasable() const { return file_segment.use_count() == 1; }
|
||||
bool releasable() const { return isSharedPtrUnique(file_segment); }
|
||||
|
||||
size_t size() const;
|
||||
|
||||
|
@ -18,12 +18,12 @@
|
||||
#include <llvm/ExecutionEngine/JITSymbol.h>
|
||||
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
|
||||
#include <llvm/ExecutionEngine/JITEventListener.h>
|
||||
// #include <llvm/MC/SubtargetFeature.h>
|
||||
#include <llvm/MC/SubtargetFeature.h>
|
||||
#include <llvm/MC/TargetRegistry.h>
|
||||
#include <llvm/Support/DynamicLibrary.h>
|
||||
// #include <llvm/Support/Host.h>
|
||||
#include <llvm/Support/Host.h>
|
||||
#include <llvm/Support/TargetSelect.h>
|
||||
// #include <llvm/Transforms/IPO/PassManagerBuilder.h>
|
||||
#include <llvm/Transforms/IPO/PassManagerBuilder.h>
|
||||
#include <llvm/Support/SmallVectorMemoryBuffer.h>
|
||||
|
||||
#include <base/getPageSize.h>
|
||||
|
Loading…
Reference in New Issue
Block a user