Delete unneeded changes

(cherry picked from commit e28e83673d975f00b6df4c0d2a61e8015b2d434b)
This commit is contained in:
Nikita Mikhaylov 2024-07-08 16:16:54 +00:00
parent 7ff447de68
commit ab70de1dc9
2 changed files with 7 additions and 4 deletions

View File

@ -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;

View File

@ -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>