Skip to content

CustomMemoryBuffer: only memcpy when not `nullptr`

Stephan Seitz requested to merge seitz/walberla:memcpy-nullptr into master

I had a problem when I was using a custom allocator that was not happy with memcpying nullptr even when the size is 0.

Edited by Stephan Seitz

Merge request reports