1
0

040-delete-c++14.patch 438 B

1234567891011121314151617181920
  1. --- a/src/del_op.cpp
  2. +++ b/src/del_op.cpp
  3. @@ -24,3 +24,7 @@
  4. _UCXXEXPORT void operator delete(void* ptr) throw(){
  5. free(ptr);
  6. }
  7. +
  8. +_UCXXEXPORT void operator delete(void* ptr, size_t size) throw(){
  9. + free(ptr);
  10. +}
  11. --- a/src/del_opv.cpp
  12. +++ b/src/del_opv.cpp
  13. @@ -24,3 +24,7 @@
  14. _UCXXEXPORT void operator delete[](void * ptr) throw(){
  15. free(ptr);
  16. }
  17. +
  18. +_UCXXEXPORT void operator delete[](void * ptr, size_t size) throw(){
  19. + free(ptr);
  20. +}