From: rschulz Date: Wed, 23 Mar 2005 09:05:27 +0000 (+0000) Subject: in thread_management.h, a namespace modifier for the call of distance was missing... X-Git-Tag: v8.0.0~14326 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c37972672f845f49a1ad198ca094dd807bba57f0;p=dealii.git in thread_management.h, a namespace modifier for the call of distance was missing. It is now std::distance. git-svn-id: https://svn.dealii.org/trunk@10212 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/thread_management.h b/deal.II/base/include/base/thread_management.h index 9943c4d0a3..1449c99099 100644 --- a/deal.II/base/include/base/thread_management.h +++ b/deal.II/base/include/base/thread_management.h @@ -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;