From f167aa6833ecb4f41886413e0e438c37c290d79d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 2 Apr 2018 10:17:00 -0600 Subject: [PATCH] Update thread_management.h --- include/deal.II/base/thread_management.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index 087a49cb24..b2f534225b 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -1047,7 +1047,7 @@ namespace Threads * int i = t.return_value(); // i is now 42 * @endcode * You will rarely have a need to write such code. On the other hand, - * the function needs to return a writable reference to support + * the function needs to return a writable (non-@p const) reference to support * code such as this: * @code * std::unique_ptr create_int (const std::string &s) { ... } @@ -1066,7 +1066,7 @@ namespace Threads * std::unique_ptr objects can not be copied. In other words, * to get the pointer out of the object returned from the thread, it needs * to be moved, and in order to be moved, the current function needs to - * return a writable reference. + * return a writable (non-@p const) reference. */ typename internal::return_value::reference_type return_value () @@ -1754,7 +1754,7 @@ namespace Threads * int i = t.return_value(); // i is now 42 * @endcode * You will rarely have a need to write such code. On the other hand, - * the function needs to return a writable reference to support + * the function needs to return a writable (non-@p const) reference to support * code such as this: * @code * std::unique_ptr create_int (const std::string &s) { ... } @@ -1773,7 +1773,7 @@ namespace Threads * std::unique_ptr objects can not be copied. In other words, * to get the pointer out of the object returned from the task, it needs * to be moved, and in order to be moved, the current function needs to - * return a writable reference. + * return a writable (non-@p const) reference. * * @pre You can't call this function if you have used the default * constructor of this class and have not assigned a task object to it. In -- 2.39.5