File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ struct ResultTypeInfo {
240240 void (*initializeWithCopy)(OpaqueValue *result, OpaqueValue *src) = nullptr;
241241 void (*storeEnumTagSinglePayload)(OpaqueValue *v, unsigned whichCase,
242242 unsigned emptyCases) = nullptr;
243- void (*destroy)(OpaqueValue *) = nullptr;
243+ void (*destroy)(OpaqueValue *, void * ) = nullptr;
244244
245245 bool isNull () {
246246 return initializeWithCopy == nullptr ;
@@ -259,7 +259,7 @@ struct ResultTypeInfo {
259259 storeEnumTagSinglePayload (v, whichCase, emptyCases);
260260 }
261261 void vw_destroy (OpaqueValue *v) {
262- destroy (v);
262+ destroy (v, nullptr );
263263 }
264264#endif
265265};
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class AsyncLetWithBufferTaskOptionRecord : public TaskOptionRecord {
199199 AsyncLet *getAsyncLet () const {
200200 return asyncLet;
201201 }
202-
202+
203203 void *getResultBuffer () const {
204204 return resultBuffer;
205205 }
@@ -224,7 +224,7 @@ class ResultTypeInfoTaskOptionRecord : public TaskOptionRecord {
224224 storeEnumTagSinglePayload)(OpaqueValue *, unsigned , unsigned );
225225
226226 void (*__ptrauth_swift_value_witness_function_pointer (
227- SpecialPointerAuthDiscriminators::Destroy) destroy)(OpaqueValue *);
227+ SpecialPointerAuthDiscriminators::Destroy) destroy)(OpaqueValue *, void * );
228228
229229 static bool classof (const TaskOptionRecord *record) {
230230 return record->getKind () == TaskOptionRecordKind::ResultTypeInfo;
You can’t perform that action at this time.
0 commit comments