Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Stepanov committed Sep 21, 2014
1 parent 9800d4f commit a36d857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/object.di
Expand Up @@ -402,7 +402,7 @@ auto aaLiteral(Key, Value, T...)(auto ref T args) @trusted
keys.reserve(T.length / 2);
values.reserve(T.length / 2);

foreach (i, staticIota!(0, args.length / 2))
foreach (i; staticIota!(0, args.length / 2))
{
keys ~= cast(Key)args[2*i];
values ~= cast(Value)args[2*i + 1];
Expand Down
2 changes: 1 addition & 1 deletion src/object_.d
Expand Up @@ -1997,7 +1997,7 @@ auto aaLiteral(Key, Value, T...)(auto ref T args) @trusted
keys.reserve(T.length / 2);
values.reserve(T.length / 2);

foreach (i, staticIota!(0, args.length / 2))
foreach (i; staticIota!(0, args.length / 2))
{
keys ~= cast(Key)args[2*i];
values ~= cast(Value)args[2*i + 1];
Expand Down

0 comments on commit a36d857

Please sign in to comment.