This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3109,7 +3109,7 @@ version (unittest)
3109
3109
private
3110
3110
{
3111
3111
extern (C ) void _d_arrayshrinkfit(const TypeInfo ti, void [] arr) nothrow ;
3112
- extern (C ) size_t _d_arraysetcapacity(const TypeInfo ti, size_t newcapacity, void * arrptr) pure nothrow ;
3112
+ extern (C ) size_t _d_arraysetcapacity(const TypeInfo ti, size_t newcapacity, void [] * arrptr) pure nothrow ;
3113
3113
}
3114
3114
3115
3115
/**
@@ -3125,7 +3125,7 @@ private
3125
3125
*/
3126
3126
@property size_t capacity (T)(T[] arr) pure nothrow @trusted
3127
3127
{
3128
- return _d_arraysetcapacity (typeid (T[]), 0 , cast (void * )&arr);
3128
+ return _d_arraysetcapacity (typeid (T[]), 0 , cast (void [] * )&arr);
3129
3129
}
3130
3130
// /
3131
3131
@safe unittest
@@ -3160,7 +3160,7 @@ private
3160
3160
*/
3161
3161
size_t reserve (T)(ref T[] arr, size_t newcapacity) pure nothrow @trusted
3162
3162
{
3163
- return _d_arraysetcapacity (typeid (T[]), newcapacity, cast (void * )&arr);
3163
+ return _d_arraysetcapacity (typeid (T[]), newcapacity, cast (void [] * )&arr);
3164
3164
}
3165
3165
// /
3166
3166
unittest
You can’t perform that action at this time.
0 commit comments