]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Qualify more function calls with std::
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Oct 2007 01:09:24 +0000 (01:09 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Oct 2007 01:09:24 +0000 (01:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@15275 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/hp/dof_handler.cc
deal.II/deal.II/source/numerics/error_estimator.cc

index d28efbc0062f3b7e972f4551fa80838a720875ec..78e11d413d1041f1a96edcaad3e89c271306e58f 100644 (file)
@@ -4346,10 +4346,10 @@ namespace hp
           new std::vector<bool> (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<int>(), -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<int>(), -1));
 
        has_children.push_back (has_children_level);
       }
index 2944383e8f0ea6af71aefea429bbdc69a064eab8..8db67f5a8679d303029e7b219b79a1e4df719d0c 100644 (file)
@@ -270,7 +270,7 @@ estimate (const Mapping<1>                    &mapping,
                                    std::vector<bool>(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) ||

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.