]> https://gitweb.dealii.org/ - dealii.git/commitdiff
in thread_management.h, a namespace modifier for the call of distance was missing...
authorrschulz <rschulz@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Mar 2005 09:05:27 +0000 (09:05 +0000)
committerrschulz <rschulz@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Mar 2005 09:05:27 +0000 (09:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@10212 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/thread_management.h

index 9943c4d0a3073cdb668e553dbd9de94378329390..1449c99099baa5b7279366c6936fc504a9018501 100644 (file)
@@ -745,7 +745,7 @@ namespace Threads
     
                                     // if more than one interval
                                     // requested, do the full work
-    const unsigned int n_elements              = distance (begin, end);
+    const unsigned int n_elements              = std::distance (begin, end);
     const unsigned int n_elements_per_interval = n_elements / n_intervals;
     const unsigned int residual                = n_elements % n_intervals;
     

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.