From: Wolfgang Bangerth Date: Fri, 6 Oct 2000 09:24:16 +0000 (+0000) Subject: Avoid some strange error message with gcc snapshot 2.97/20001002 X-Git-Tag: v8.0.0~20053 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4720f74a5a08924919f1a238e0e3004087228f49;p=dealii.git Avoid some strange error message with gcc snapshot 2.97/20001002 git-svn-id: https://svn.dealii.org/trunk@3378 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_constraints.cc b/deal.II/deal.II/source/dofs/dof_constraints.cc index 6b9a1a7b6e..28d7b2a075 100644 --- a/deal.II/deal.II/source/dofs/dof_constraints.cc +++ b/deal.II/deal.II/source/dofs/dof_constraints.cc @@ -144,8 +144,8 @@ void ConstraintMatrix::close () // make sure that // entry->first is not the // index of a line itself - const ConstraintLine test_line = { entry->first, - vector >() }; + ConstraintLine test_line; + test_line.line = entry->first; const vector::const_iterator test_line_position = lower_bound (lines.begin(), lines.end(),