diff options
| author | Adonais Romero González <[email protected]> | 2025-01-15 09:32:38 -0800 |
|---|---|---|
| committer | v-junyli <[email protected]> | 2025-03-24 17:22:01 -0700 |
| commit | 5d5cd612d00cc8c17f22a2793a284d1bb5091cdb (patch) | |
| tree | 9b014c8a52b7e096d3c04d754f68d5685fcbe100 /audio/sysvad/EndpointsCommon/NewDelete.h | |
| parent | 61fe2ecffeeb6a77c9352384bee6f63812b0a697 (diff) | |
[audio/sysvad] Use C++17 (#1247)user/vjunyli/wdk3323
Diffstat (limited to 'audio/sysvad/EndpointsCommon/NewDelete.h')
| -rw-r--r-- | audio/sysvad/EndpointsCommon/NewDelete.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/sysvad/EndpointsCommon/NewDelete.h b/audio/sysvad/EndpointsCommon/NewDelete.h index be46cbf5..fefcda6e 100644 --- a/audio/sysvad/EndpointsCommon/NewDelete.h +++ b/audio/sysvad/EndpointsCommon/NewDelete.h @@ -73,6 +73,21 @@ void __cdecl operator delete /***************************************************************************** * ::delete() ***************************************************************************** +* Sized Delete function with alignment. +*/ +#ifdef __cpp_aligned_new +void __cdecl operator delete +( + _Pre_maybenull_ __drv_freesMem(Mem) PVOID pVoid, + _In_ size_t cbSize, + _In_ std::align_val_t cbAlign +); +#endif // __cpp_aligned_new + + +/***************************************************************************** +* ::delete() +***************************************************************************** * Basic Delete function. */ void __cdecl operator delete |
