Clang -Tidy Fixes

This commit is contained in:
HeenaBansal2009 2022-04-29 20:17:45 -07:00
parent 8e12840941
commit 042157efca
2 changed files with 3 additions and 3 deletions

View File

@ -170,9 +170,9 @@ private:
FileSegmentCell(FileSegmentPtr file_segment_, LRUQueue & queue_);
FileSegmentCell(FileSegmentCell && other)
FileSegmentCell(FileSegmentCell && other) noexcept
: file_segment(std::move(other.file_segment))
, queue_iterator(std::move(other.queue_iterator)) {}
, queue_iterator(other.queue_iterator) {}
std::pair<Key, size_t> getKeyAndOffset() const { return std::make_pair(file_segment->key(), file_segment->range().left); }
};

View File

@ -161,7 +161,7 @@ std::unique_ptr<DiskS3Settings> getSettings(const Poco::Util::AbstractConfigurat
return std::make_unique<DiskS3Settings>(
getClient(config, config_prefix, context),
std::move(rw_settings),
rw_settings,
config.getUInt64(config_prefix + ".min_bytes_for_seek", 1024 * 1024),
config.getBool(config_prefix + ".send_metadata", false),
config.getInt(config_prefix + ".thread_pool_size", 16),