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

Commit 749a8ca

Browse files
committed
Make assumeSafeAppend explicitly @system
1 parent 29ce054 commit 749a8ca

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)