Skip to content

Commit

Permalink
Use canonical forms for IIFEs to distinguish them from lambda definit…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
LTLA committed Feb 5, 2025
1 parent 1003cd5 commit 2a17857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tatami_chunked/SlabCacheStats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct SlabCacheStats {
*/
SlabCacheStats(size_t target_length, size_t non_target_length, size_t target_num_slabs, size_t cache_size_in_bytes, size_t element_size, bool require_minimum_cache) :
slab_size_in_elements(target_length * non_target_length),
max_slabs_in_cache([&]() {
max_slabs_in_cache([&]{
if (element_size == 0) {
return target_num_slabs;
} else {
Expand Down

0 comments on commit 2a17857

Please sign in to comment.