1313
1414namespace geom {
1515
16- const osmium::area::AssemblerConfig area_config;
16+ osmium::area::AssemblerConfig const area_config;
1717
1818area_assembler_t::area_assembler_t (osmium::memory::Buffer *buffer)
1919: osmium::area::detail::BasicAssembler(area_config), m_buffer(buffer)
@@ -36,7 +36,7 @@ bool area_assembler_t::make_area()
3636 return true ;
3737}
3838
39- bool area_assembler_t::operator ()(const osmium::Way &way)
39+ bool area_assembler_t::operator ()(osmium::Way const &way)
4040{
4141 segment_list ().extract_segments_from_way (nullptr , stats ().duplicate_nodes ,
4242 way);
@@ -46,10 +46,10 @@ bool area_assembler_t::operator()(const osmium::Way &way)
4646// Currently the relation is not needed for assembling the area, because
4747// the roles on the members are ignored. In the future we might want to use
4848// the roles, so we leave the function signature as it is.
49- bool area_assembler_t::operator ()(const osmium::Relation & /* relation*/ ,
50- const osmium::memory::Buffer &ways_buffer)
49+ bool area_assembler_t::operator ()(osmium::Relation const & /* relation*/ ,
50+ osmium::memory::Buffer const &ways_buffer)
5151{
52- for (const auto &way : ways_buffer.select <osmium::Way>()) {
52+ for (auto const &way : ways_buffer.select <osmium::Way>()) {
5353 segment_list ().extract_segments_from_way (nullptr ,
5454 stats ().duplicate_nodes , way);
5555 }
0 commit comments