Skip to content

Commit

Permalink
bad usage of unqual for AA
Browse files Browse the repository at this point in the history
  • Loading branch information
monarchdodra committed Oct 5, 2012
1 parent b2101fe commit 93d9f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/conv.d
Expand Up @@ -1406,7 +1406,7 @@ T toImpl(T, S)(S value)
alias Unqual!K2 MK2;
alias ValueType!T V2;
alias Unqual!V2 MV2;
Unqual!T result;
MV2[MK2] result;
foreach (k1, v1; value)
{
K2 k2 = cast(K2) to!MK2(k1); //Call to with mutable type, but store in non mutable
Expand Down

0 comments on commit 93d9f1b

Please sign in to comment.