From: kronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Mon, 26 Aug 2013 09:07:10 +0000 (+0000)
Subject: Fix compilation with C++11
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab0de3751c33ec4da4f95336223d191a9b19da4;p=dealii-svn.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)