mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Use void for auto function without return statement
This commit is contained in:
parent
2c8166318b
commit
b82ae35fd7
9 changed files with 62 additions and 69 deletions
|
@ -4586,7 +4586,7 @@ if (isInputRange!R && !isInfinite!R)
|
|||
F[64] store = void;
|
||||
size_t idx = 0;
|
||||
|
||||
auto collapseStore(T)(T k)
|
||||
void collapseStore(T)(T k)
|
||||
{
|
||||
auto lastToKeep = idx - cast(uint)bsf(k+1);
|
||||
while (idx > lastToKeep)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue