mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-08-19 16:28:16 +00:00
Various code cleanups
* Fix typos * Modernize C++ * Fix clang-tidy warnings * Formatting cleanups
This commit is contained in:
@ -43,7 +43,7 @@ void add_array(copy_mgr_t &mgr, std::shared_ptr<db_target_descr_t> t, int id,
|
||||
mgr.new_line(t);
|
||||
mgr.add_column(id);
|
||||
mgr.new_array();
|
||||
for (auto v : values) {
|
||||
for (auto const &v : values) {
|
||||
mgr.add_array_elem(v);
|
||||
}
|
||||
mgr.finish_array();
|
||||
|
Reference in New Issue
Block a user