From 32a73bf1734d1e152c796b5e1cdcd9e32baf0216 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Wed, 4 Dec 2013 20:31:28 +0000 Subject: [PATCH] Avoid using C++11 git-svn-id: https://svn.dealii.org/trunk@31886 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/constraint_matrix.templates.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5