Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[s4u] Add a header file with forward declarations
[simgrid.git] / include / simgrid / s4u / async.hpp
index 3454a03..37bd4e1 100644 (file)
@@ -11,6 +11,8 @@
 #include <xbt/base.h>
 #include <xbt/misc.h>
 
+#include <simgrid/s4u/forward.hpp>
+
 SG_BEGIN_DECL();
 typedef enum {
        inited, started, finished
@@ -20,10 +22,6 @@ SG_END_DECL();
 namespace simgrid {
 namespace s4u {
 
-/* Forward declaration */
-class Comm;
-
-
 /** @brief Asynchronous Actions
  *
  * This class is the ancestor of every asynchronous actions, that is, of actions that do take time in the simulated world.