From: Wolfgang Bangerth Date: Sun, 13 Mar 2005 06:17:55 +0000 (+0000) Subject: Make sure the two arguments to make_pair have the same type (Sun CC complains about... X-Git-Tag: v8.0.0~14419 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c19df0e04b164783f6d789489f808102981b7c;p=dealii.git Make sure the two arguments to make_pair have the same type (Sun CC complains about this, not entirely without justification). git-svn-id: https://svn.dealii.org/trunk@10117 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc index 70001af097..26cdcd600b 100644 --- a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc +++ b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc @@ -1307,19 +1307,19 @@ FE_RaviartThomas<2>::compute_renumber (const unsigned int degree) // face 0 for (unsigned int i=0; i::compute_renumber (const unsigned int degree) const unsigned int index_in_component = (x+2) + y*(degree+2); Assert (index_in_component < (degree+1)*(degree+2), ExcInternalError()); - ret_val.push_back (std::make_pair(0, index_in_component)); + ret_val.push_back (std::make_pair(0U, index_in_component)); } for (unsigned int x=0; x::compute_renumber (const unsigned int degree) const unsigned int index_in_component = 2*(degree+1) + y + x*degree; Assert (index_in_component < (degree+1)*(degree+2), ExcInternalError()); - ret_val.push_back (std::make_pair(1, index_in_component)); + ret_val.push_back (std::make_pair(1U, index_in_component)); } #ifdef DEBUG