From: David Wells Date: Sat, 4 Mar 2017 21:54:08 +0000 (-0500) Subject: Mark some header-defined functions as inline. X-Git-Tag: v8.5.0-rc1~70^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1acd841bb962c55e8abbc4744f9456dc3f3627c;p=dealii.git Mark some header-defined functions as inline. --- diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index c1d81dda72..1e9d9a5b82 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -200,7 +200,7 @@ namespace Threads * Wait for all threads to reach this point. Since there may only be one * thread, return immediately, i.e. this function is a no-op. */ - int wait () const + inline int wait () const { return 0; } @@ -208,7 +208,7 @@ namespace Threads /** * Dump the state of this object. Here: do nothing. */ - void dump () const {} + inline void dump () const {} /** * @addtogroup Exceptions