File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -419,12 +419,12 @@ void osmdata_t::stop() {
419419 }
420420
421421 // should be the same for all outputs
422- const bool append = outs[0 ]->get_options ()-> append ;
422+ auto *opts = outs[0 ]->get_options ();
423423
424424 {
425425 // threaded pending processing
426- pending_threaded_processor ptp (
427- mid, outs, outs[ 0 ]-> get_options ()-> num_procs , append);
426+ pending_threaded_processor ptp (mid, outs, opts-> num_procs ,
427+ opts-> append );
428428
429429 if (!outs.empty ()) {
430430 // This stage takes ways which were processed earlier, but might be
@@ -443,7 +443,6 @@ void osmdata_t::stop() {
443443 // Clustering, index creation, and cleanup.
444444 // All the intensive parts of this are long-running PostgreSQL commands
445445 {
446- auto *opts = outs[0 ]->get_options ();
447446 osmium::thread::Pool pool (opts->parallel_indexing ? opts->num_procs : 1 ,
448447 512 );
449448
You can’t perform that action at this time.
0 commit comments