]> https://gitweb.dealii.org/ - dealii.git/commit
Fix compilation.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 10 Mar 2016 01:33:31 +0000 (19:33 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 10 Mar 2016 01:33:31 +0000 (19:33 -0600)
commit4acac3044e172eeb7830df43b3ee7fd931764707
tree867f19498bfa2f94e767377ae7a95678d8b2a8a8
parent6f451f2b5d30c95e5248defae809caeb46debefb
Fix compilation.

GCC 4.6.3 does support C++11 but apparently runs into
trouble with the recent addition of the new Threads::new_task()
function. This patch ensures that the right overload is found
by not specifying a template argument explicitly, but explicitly
casting the argument to the type of the argument of the function
we want to call. This cast would have to be performed also when
specifying the template argument explicitly.
include/deal.II/base/thread_management.h

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.