From: bangerth Date: Wed, 10 Oct 2007 01:09:24 +0000 (+0000) Subject: Qualify more function calls with std:: X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd76a86ef18fa944e4af58f792f5046b4d81e21e;p=dealii-svn.git Qualify more function calls with std:: git-svn-id: https://svn.dealii.org/trunk@15275 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/hp/dof_handler.cc b/deal.II/deal.II/source/hp/dof_handler.cc index d28efbc006..78e11d413d 100644 --- a/deal.II/deal.II/source/hp/dof_handler.cc +++ b/deal.II/deal.II/source/hp/dof_handler.cc @@ -4346,10 +4346,10 @@ namespace hp new std::vector (lines_on_level); // Check for each cell, if it has children. - transform (tria.levels[i]->cells.children.begin (), - tria.levels[i]->cells.children.end (), - has_children_level->begin (), - std::bind2nd (std::not_equal_to(), -1)); + std::transform (tria.levels[i]->cells.children.begin (), + tria.levels[i]->cells.children.end (), + has_children_level->begin (), + std::bind2nd (std::not_equal_to(), -1)); has_children.push_back (has_children_level); } diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 2944383e8f..8db67f5a86 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -270,7 +270,7 @@ estimate (const Mapping<1> &mapping, std::vector(n_components, true) : component_mask_); Assert (component_mask.size() == n_components, ExcInvalidComponentMask()); - Assert (count(component_mask.begin(), component_mask.end(), true) > 0, + Assert (std::count(component_mask.begin(), component_mask.end(), true) > 0, ExcInvalidComponentMask()); Assert ((coefficient == 0) ||