From: Martin Kronbichler Date: Mon, 26 Aug 2013 09:07:10 +0000 (+0000) Subject: Fix compilation with C++11 X-Git-Tag: v8.1.0~956 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47d83f38f8b2f8fcd1fad975896dd7e9fbf766c7;p=dealii.git Fix compilation with C++11 git-svn-id: https://svn.dealii.org/trunk@30493 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)