File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -334,24 +334,20 @@ namespace detail
334334 inline void dynamic_load_ ( int err_id, E && e )
335335 {
336336 if ( slot<dynamic_allocator> * sl = tls::read_ptr<slot<dynamic_allocator>>() )
337- {
338337 if ( dynamic_allocator * c = sl->has_value_any_key () )
339338 c->dynamic_load (err_id, std::forward<E>(e));
340339 else
341340 sl->load (err_id).dynamic_load (err_id, std::forward<E>(e));
342- }
343341 }
344342
345343 template <class E , class F >
346344 inline void dynamic_accumulate_ ( int err_id, F && f )
347345 {
348346 if ( slot<dynamic_allocator> * sl = tls::read_ptr<slot<dynamic_allocator>>() )
349- {
350347 if ( dynamic_allocator * c = sl->has_value (err_id) )
351348 (void ) std::forward<F>(f)(c->dynamic_load (err_id, E{}));
352349 else
353350 (void ) std::forward<F>(f)(sl->load (err_id).dynamic_load (err_id, E{}));
354- }
355351 }
356352
357353 template <bool OnError, class E >
You can’t perform that action at this time.
0 commit comments