From: bangerth Date: Tue, 16 Jul 2013 16:33:27 +0000 (+0000) Subject: Make things compile in C++98 mode as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a7982e27485e8769e630d386cc886200c3f364;p=dealii-svn.git Make things compile in C++98 mode as well. git-svn-id: https://svn.dealii.org/trunk@30011 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/fe_values_view_tensor_01.cc b/tests/deal.II/fe_values_view_tensor_01.cc index b195e19f9b..29172db937 100644 --- a/tests/deal.II/fe_values_view_tensor_01.cc +++ b/tests/deal.II/fe_values_view_tensor_01.cc @@ -175,10 +175,10 @@ void MixedElastoPlasticity::assemble_system() endc = dof_handler.end(); - std::vector> div_values(n_q_points); - std::vector> stress_values(n_q_points); + std::vector > div_values(n_q_points); + std::vector > stress_values(n_q_points); - unsigned int cc = 0; + unsigned int cc = 0; for (; cell!=endc; ++cell) //loop over all cells { deallog<<++cc<<" "; @@ -189,8 +189,7 @@ void MixedElastoPlasticity::assemble_system() fe_values[stress_extr].get_function_values(solution,stress_values); fe_values[stress_extr].get_function_divergences(solution,div_values); - - } + } } template