]> https://gitweb.dealii.org/ - dealii.git/commit
Fix two issues with C string memory consumption. 983/head
authorDavid Wells <drwells@vt.edu>
Mon, 1 Jun 2015 12:02:49 +0000 (08:02 -0400)
committerDavid Wells <drwells@vt.edu>
Mon, 1 Jun 2015 12:02:49 +0000 (08:02 -0400)
commit9f7ef06f65b8c8e148c18487010ce26cc8c7b383
tree4d00d9258a501bb6faa7a6e37851b8090c41bf5c
parent6aeddc13951072f27880a945c63b029cf2cfbfa2
Fix two issues with C string memory consumption.
These were pointed out by @msteigemann.

Including cstring to obtain strlen is not necessary with some GCC
releases, but may be needed on other platforms.

I rewrote the call to strlen so that it does not rely on the fact that
sizeof(char) == 1 on most platforms.
include/deal.II/base/memory_consumption.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.