]> https://gitweb.dealii.org/ - dealii.git/commit
Do not check that 'new' returned a non-NULL pointer.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 18 Jun 2017 01:08:56 +0000 (19:08 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 19 Jun 2017 03:48:48 +0000 (21:48 -0600)
commit4f5b698eee051c8a748b125502eb05d9d4dc4642
treefa7fee62a6a8ef2d822fc7d999ac3c693e5d1cca
parent717fc29c7b09ccb73ddf203afd2053c16131f718
Do not check that 'new' returned a non-NULL pointer.

'new' hasn't done that since C++98 but instead throws a std::bad_alloc itself. Consequently,
the assertion would never have failed.
include/deal.II/dofs/dof_handler.h
source/dofs/dof_handler.cc

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.