From: wolf Date: Fri, 6 Oct 2000 09:24:16 +0000 (+0000) Subject: Avoid some strange error message with gcc snapshot 2.97/20001002 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22c4aa3586b31be16be7f2b89bf3557354101a3;p=dealii-svn.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(),