]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a static declaration that the Sun CC compiler didn't like and that indeed...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Mar 2005 06:26:53 +0000 (06:26 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Mar 2005 06:26:53 +0000 (06:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@10118 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/thread_management.h

index be3b8b2c12e09aa0d41a80ec8f687e036b8e5b37..9943c4d0a3073cdb668e553dbd9de94378329390 100644 (file)
@@ -1765,9 +1765,9 @@ namespace Threads
                                       * type.
                                       */
     template <typename RT, typename PFun, typename ArgList>
-    static inline void call (PFun     fun_ptr,
-                             ArgList &arg_list,
-                             internal::return_value<RT> &ret_val)
+    inline void call (PFun     fun_ptr,
+                     ArgList &arg_list,
+                     internal::return_value<RT> &ret_val)
     {
       Caller<RT>::do_call (fun_ptr, arg_list, ret_val,
                            int2type<boost::tuples::length<ArgList>::value>());
@@ -1785,10 +1785,10 @@ namespace Threads
                                       * return type.
                                       */
     template <typename RT, typename PFun, typename C, typename ArgList>
-    static inline void call (PFun     fun_ptr,
-                             C       &obj,
-                             ArgList &arg_list,
-                             internal::return_value<RT> &ret_val)
+    inline void call (PFun     fun_ptr,
+                     C       &obj,
+                     ArgList &arg_list,
+                     internal::return_value<RT> &ret_val)
     {
       Caller<RT>::do_call (fun_ptr, obj, arg_list, ret_val,
                            int2type<boost::tuples::length<ArgList>::value>());

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.