Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix mingw builds (?)
[simgrid.git] / include / simgrid / s4u / Exec.hpp
index 9566d53..a023a74 100644 (file)
@@ -8,15 +8,13 @@
 
 #include <simgrid/forward.h>
 #include <simgrid/s4u/Activity.hpp>
-#include <simgrid/s4u/forward.hpp>
 
 #include <atomic>
 
 namespace simgrid {
 namespace s4u {
 
-XBT_PUBLIC_CLASS Exec : public Activity
-{
+class XBT_PUBLIC Exec : public Activity {
   Exec() : Activity() {}
 public:
   friend XBT_PUBLIC void intrusive_ptr_release(simgrid::s4u::Exec * e);
@@ -35,7 +33,7 @@ public:
   ExecPtr setHost(Host * host);
   Host* getHost() { return host_; }
 
-  double getRemains() override;
+  double get_remaining() override;
   double getRemainingRatio();
 
 private: