Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics (and please scan-build about potential null surf_action_).
[simgrid.git] / src / kernel / activity / SynchroRaw.hpp
index b85e06f..c96dd4a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -6,24 +6,21 @@
 #ifndef SIMIX_SYNCHRO_RAW_HPP
 #define SIMIX_SYNCHRO_RAW_HPP
 
-#include "surf/surf.h"
 #include "src/kernel/activity/ActivityImpl.hpp"
+#include "surf/surf.hpp"
 
 namespace simgrid {
 namespace kernel {
 namespace activity {
 
   /** Used to implement mutexes, semaphores and conditions */
-  XBT_PUBLIC_CLASS Raw : public ActivityImpl {
-  public:
-    ~Raw() override;
-    void suspend() override;
-    void resume() override;
-    void post() override;
-
-    surf_action_t sleep = nullptr;
-  };
-
+class XBT_PUBLIC RawImpl : public ActivityImpl {
+public:
+  ~RawImpl() override;
+  void suspend() override;
+  void resume() override;
+  void post() override;
+};
 }}} // namespace simgrid::kernel::activity
 
 #endif