]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark some header-defined functions as inline.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 4 Mar 2017 21:54:08 +0000 (16:54 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 4 Mar 2017 23:38:58 +0000 (18:38 -0500)
include/deal.II/base/thread_management.h

index c1d81dda72656aa152aa7e812d75c61cc7e51f64..1e9d9a5b82d4164056d4b672c7adeec1d295dd3a 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.