From 51e4010b69596fdcc8335625082d3cfecdcefeb8 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 25 Dec 2013 10:52:09 +0000 Subject: [PATCH] Make compile with clang git-svn-id: https://svn.dealii.org/trunk@32119 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/work_stream.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/include/deal.II/base/work_stream.h b/deal.II/include/deal.II/base/work_stream.h index 6bb40efccb..561b8113cc 100644 --- a/deal.II/include/deal.II/base/work_stream.h +++ b/deal.II/include/deal.II/base/work_stream.h @@ -1183,8 +1183,8 @@ namespace WorkStream Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, - const unsigned int queue_length, - const unsigned int chunk_size); + const unsigned int queue_length = 2*multithread_info.n_threads(), + const unsigned int chunk_size = 8); /** @@ -1378,8 +1378,8 @@ namespace WorkStream Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, - const unsigned int queue_length = 2*multithread_info.n_threads(), - const unsigned int chunk_size = 8) + const unsigned int queue_length, + const unsigned int chunk_size) { Assert (queue_length > 0, ExcMessage ("The queue length must be at least one, and preferably " -- 2.39.5