Remove unused field.

This commit is contained in:
levlam 2023-05-10 15:41:57 +03:00
parent de22159b7f
commit 887b69ec0e
2 changed files with 3 additions and 5 deletions

View File

@ -840,10 +840,9 @@ void FileManager::init_actor() {
}
FileManager::~FileManager() {
Scheduler::instance()->destroy_on_scheduler(G()->get_gc_scheduler_id(), remote_location_info_, file_hash_to_file_id_,
remote_location_to_file_id_, local_location_to_file_id_,
generate_location_to_file_id_, pmc_id_to_file_node_id_, file_id_info_,
empty_file_ids_, file_nodes_);
Scheduler::instance()->destroy_on_scheduler(
G()->get_gc_scheduler_id(), remote_location_info_, file_hash_to_file_id_, remote_location_to_file_id_,
local_location_to_file_id_, generate_location_to_file_id_, file_id_info_, empty_file_ids_, file_nodes_);
}
string FileManager::fix_file_extension(Slice file_name, Slice file_type, Slice file_extension) {

View File

@ -592,7 +592,6 @@ class FileManager final : public FileLoadManager::Callback {
std::map<FullRemoteFileLocation, FileId> remote_location_to_file_id_;
std::map<FullLocalFileLocation, FileId> local_location_to_file_id_;
std::map<FullGenerateFileLocation, FileId> generate_location_to_file_id_;
std::map<FileDbId, int32> pmc_id_to_file_node_id_;
WaitFreeVector<FileIdInfo> file_id_info_;
WaitFreeVector<int32> empty_file_ids_;