From 10e6901d959b223835e91213707675ef2757e8e9 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 31 Jan 2014 07:20:16 +0000 Subject: [PATCH] Prior to C++11, fmin is a C99 function and not in namespace std git-svn-id: https://svn.dealii.org/trunk@32353 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/include/deal.II/base/event.h b/deal.II/include/deal.II/base/event.h index 8e7d5ad938..e27184e3ca 100644 --- a/deal.II/include/deal.II/base/event.h +++ b/deal.II/include/deal.II/base/event.h @@ -202,7 +202,7 @@ namespace Algorithms const unsigned int n = flags.size(); const unsigned int m = event.flags.size(); - const unsigned int n_min = std::fmin(n, m); + const unsigned int n_min = fmin(n, m); // Now, if all_true set in the // other, then all must be true -- 2.39.5