From: kronbichler Date: Wed, 25 Dec 2013 10:52:09 +0000 (+0000) Subject: Make compile with clang X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6922df4b0c1470de38c65a3a6818633b54d8343d;p=dealii-svn.git Make compile with clang git-svn-id: https://svn.dealii.org/trunk@32119 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 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 "