From: kronbichler Date: Wed, 4 Dec 2013 20:31:28 +0000 (+0000) Subject: Avoid using C++11 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32a73bf1734d1e152c796b5e1cdcd9e32baf0216;p=dealii-svn.git Avoid using C++11 git-svn-id: https://svn.dealii.org/trunk@31886 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/constraint_matrix.templates.h b/deal.II/include/deal.II/lac/constraint_matrix.templates.h index 9566ded083..d2e4dce533 100644 --- a/deal.II/include/deal.II/lac/constraint_matrix.templates.h +++ b/deal.II/include/deal.II/lac/constraint_matrix.templates.h @@ -1314,9 +1314,9 @@ namespace internals for (size_type i=individual_size.size(); i>0; ) { --i; - std::move_backward(&data[i*row_length], - &data[i*row_length]+individual_size[i], - &data[i*row_length*2]+individual_size[i]); + std::memmove(&data[i*row_length*2], &data[i*row_length], + individual_size[i]* + sizeof(std::pair)); } row_length *= 2; }