]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a GCC8 warning. 6480/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 May 2018 17:17:23 +0000 (13:17 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 5 May 2018 17:17:23 +0000 (13:17 -0400)
commit19392ce4213c6a96f5e888e634f71241f7594c0f
treed877ab7aca42fe1090cccac093a00e50cdc84b3e
parent96699ec83c8de39a287e47751283e688a3640dab
Fix a GCC8 warning.

GCC warns that these types are not trivally copyable so we should not use
std::memmove. We cannot use std::move either since the beginning of the new
range may intersect the old range. Hence: use std::move_backward to copy from
the end, which cannot overlap.
include/deal.II/lac/constraint_matrix.templates.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.