diff --git a/include/dwarfs/writer/compression_metadata_requirements.h b/include/dwarfs/writer/compression_metadata_requirements.h index ea4f60d5..0c089d99 100644 --- a/include/dwarfs/writer/compression_metadata_requirements.h +++ b/include/dwarfs/writer/compression_metadata_requirements.h @@ -304,28 +304,28 @@ class compression_metadata_requirements { template < typename F, typename U, typename T = typename std::invoke_result_t::value_type> - void add_set(std::string const& name, U(Meta::*mp), F&& value_parser) { + void add_set(std::string const& name, U(Meta::* mp), F&& value_parser) { req_.emplace_back( std::make_unique>( name, mp, std::forward(value_parser))); } template - void add_set(std::string const& name, U(Meta::*mp)) { + void add_set(std::string const& name, U(Meta::* mp)) { add_set(name, mp, detail::value_parser); } template < typename F, typename U, typename T = typename std::invoke_result_t::value_type> - void add_range(std::string const& name, U(Meta::*mp), F&& value_parser) { + void add_range(std::string const& name, U(Meta::* mp), F&& value_parser) { req_.emplace_back( std::make_unique>( name, mp, std::forward(value_parser))); } template - void add_range(std::string const& name, U(Meta::*mp)) { + void add_range(std::string const& name, U(Meta::* mp)) { add_range(name, mp, detail::value_parser); } diff --git a/src/writer/filesystem_writer.cpp b/src/writer/filesystem_writer.cpp index ee4f838e..a6af6cac 100644 --- a/src/writer/filesystem_writer.cpp +++ b/src/writer/filesystem_writer.cpp @@ -1002,8 +1002,8 @@ void filesystem_writer_::add_section_compressor( template auto filesystem_writer_::get_compression_constraints( - fragment_category::value_type cat, - std::string const& metadata) const -> compression_constraints { + fragment_category::value_type cat, std::string const& metadata) const + -> compression_constraints { return compressor_for_category(cat).get_compression_constraints(metadata); } diff --git a/src/writer/internal/inode_manager.cpp b/src/writer/internal/inode_manager.cpp index 34c4a7e5..996553b3 100644 --- a/src/writer/internal/inode_manager.cpp +++ b/src/writer/internal/inode_manager.cpp @@ -754,8 +754,9 @@ void inode_manager_::dump(std::ostream& os) const { } template -auto inode_manager_::ordered_span( - fragment_category cat, worker_group& wg) const -> sortable_inode_span { +auto inode_manager_::ordered_span(fragment_category cat, + worker_group& wg) const + -> sortable_inode_span { auto prefix = category_prefix(opts_.categorizer_mgr, cat); auto opts = opts_.fragment_order.get(cat); diff --git a/src/writer/internal/similarity_ordering.cpp b/src/writer/internal/similarity_ordering.cpp index e818f575..4d9adf2b 100644 --- a/src/writer/internal/similarity_ordering.cpp +++ b/src/writer/internal/similarity_ordering.cpp @@ -330,8 +330,8 @@ auto similarity_ordering_::build_index( template auto similarity_ordering_::find_duplicates( - similarity_element_view const& ev, - index_type& index) const -> duplicates_map { + similarity_element_view const& ev, index_type& index) const + -> duplicates_map { duplicates_map dm; {