]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Guard a forward declaration. 13015/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 30 Nov 2021 18:42:30 +0000 (11:42 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 30 Nov 2021 18:42:30 +0000 (11:42 -0700)
include/deal.II/base/multithread_info.h

index 34a74d0892230161b8d4c85bf7fee484e0208016..c0370ac57b7daf1360bef4b9e3a8a45f95e13060 100644 (file)
 
 #  include <memory>
 
+#  ifdef DEAL_II_WITH_TASKFLOW
 // forward declaration from <taskflow/taskflow.hpp>
 namespace tf
 {
   class Executor;
 }
+#  endif
+
 
 DEAL_II_NAMESPACE_OPEN
 

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.