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

Commit

Permalink
Fix wrong copy-pasta from object_.d.
Browse files Browse the repository at this point in the history
  • Loading branch information
H. S. Teoh committed Jan 3, 2015
1 parent 5933725 commit 22955e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.di
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ auto byKeyValue(T : Value[Key], Value, Key)(T aa) pure nothrow @nogc @property
Result save() { return this; }
}

return Result(_aaRange(p));
return Result(_aaRange(cast(void*)aa));
}

inout(V) get(K, V)(inout(V[K]) aa, K key, lazy inout(V) defaultValue)
Expand Down

0 comments on commit 22955e6

Please sign in to comment.