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

Commit e798185

Browse files
authored
Merge pull request #2373 from radcapricorn/assumeSafeAppendSystem
Make `assumeSafeAppend` explicitly `@system` merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2 parents 29ce054 + 749a8ca commit e798185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3668,7 +3668,7 @@ unittest
36683668
* Returns:
36693669
* The input is returned.
36703670
*/
3671-
auto ref inout(T[]) assumeSafeAppend(T)(auto ref inout(T[]) arr) nothrow
3671+
auto ref inout(T[]) assumeSafeAppend(T)(auto ref inout(T[]) arr) nothrow @system
36723672
{
36733673
_d_arrayshrinkfit(typeid(T[]), *(cast(void[]*)&arr));
36743674
return arr;

0 commit comments

Comments
 (0)