File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ namespace osmium {
327327 m_osmdata_queue(detail::get_osmdata_queue_size(), "parser_results"),
328328 m_osmdata_queue_wrapper(m_osmdata_queue) {
329329
330- (void )std::initializer_list<int >{(set_option (args), 0 )...};
330+ (void )std::initializer_list<int >{(set_option (std::forward<TArgs>( args) ), 0 )...};
331331
332332 if (!m_pool) {
333333 m_pool = &thread::Pool::default_instance ();
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ namespace osmium {
269269 assert (!m_file.buffer ()); // XXX can't handle pseudo-files
270270
271271 options_type options;
272- (void )std::initializer_list<int >{(set_option (options, args), 0 )...};
272+ (void )std::initializer_list<int >{(set_option (options, std::forward<TArgs>( args) ), 0 )...};
273273
274274 if (!options.pool ) {
275275 options.pool = &thread::Pool::default_instance ();
You can’t perform that action at this time.
0 commit comments