From ff64a8efd9ab127291503dde27c36d44138974f4 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 1 Jul 2011 00:24:05 +0000 Subject: [PATCH] Use a better way to copy stuff. git-svn-id: https://svn.dealii.org/trunk@23897 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/include/deal.II/base/table.h b/deal.II/include/deal.II/base/table.h index 6418f897c4..606e042411 100644 --- a/deal.II/include/deal.II/base/table.h +++ b/deal.II/include/deal.II/base/table.h @@ -1940,7 +1940,7 @@ TableBase::operator = (const TableBase& m) { reinit (m.size()); if (!empty()) - std::copy (&m.values[0], &m.values[n_elements()], &values[0]); + std::copy (m.values.begin(), values.begin(), n_elements()); return *this; } -- 2.39.5