From 6ab0de3751c33ec4da4f95336223d191a9b19da4 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 26 Aug 2013 09:07:10 +0000 Subject: [PATCH] Fix compilation with C++11 git-svn-id: https://svn.dealii.org/trunk@30493 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/work_stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/base/work_stream.h b/deal.II/include/deal.II/base/work_stream.h index 370796a7e1..6fa10464db 100644 --- a/deal.II/include/deal.II/base/work_stream.h +++ b/deal.II/include/deal.II/base/work_stream.h @@ -530,7 +530,7 @@ namespace WorkStream { try { - if (worker.empty() == false) + if (worker) worker (current_item->work_items[i], *scratch_data, current_item->copy_datas[i]); @@ -634,7 +634,7 @@ namespace WorkStream { try { - if (copier.empty() == false) + if (copier) copier (current_item->copy_datas[i]); } catch (const std::exception &exc) -- 2.39.5