]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a GCC8 warning. 6500/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 May 2018 17:17:23 +0000 (13:17 -0400)
committerMatthias Maier <tamiko@43-1.org>
Sun, 6 May 2018 21:07:36 +0000 (16:07 -0500)
commitf650fe5e1247733189a65d2d44d05476517bf0a6
tree75bac72525fccdf09fb1ce2526d67abb6ff20c56
parent076ea8e293bcb7e39c714dcb2221de568167c6ad
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.