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

Commit

Permalink
Merge pull request #2373 from radcapricorn/assumeSafeAppendSystem
Browse files Browse the repository at this point in the history
Make `assumeSafeAppend` explicitly `@system`
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot authored Nov 24, 2018
2 parents 29ce054 + 749a8ca commit e798185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -3668,7 +3668,7 @@ unittest
* Returns:
* The input is returned.
*/
auto ref inout(T[]) assumeSafeAppend(T)(auto ref inout(T[]) arr) nothrow
auto ref inout(T[]) assumeSafeAppend(T)(auto ref inout(T[]) arr) nothrow @system
{
_d_arrayshrinkfit(typeid(T[]), *(cast(void[]*)&arr));
return arr;
Expand Down

0 comments on commit e798185

Please sign in to comment.