Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some #include fixes
authorGabriel Corona <gabriel.corona@loria.fr>
Thu, 30 Jun 2016 08:13:19 +0000 (10:13 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Thu, 30 Jun 2016 08:13:19 +0000 (10:13 +0200)
include/simgrid/s4u/mutex.hpp
include/xbt/signal.hpp
src/surf/cpu_ti.hpp
src/surf/surf_interface.hpp
src/surf/virtual_machine.cpp
src/surf/virtual_machine.hpp

index ff60143..bf4e00d 100644 (file)
@@ -9,7 +9,6 @@
 #include <mutex>
 #include <utility>
 
-#include <boost/intrusive_ptr.hpp>
 #include <xbt/base.h>
 #include "simgrid/simix.h"
 
index 08fbff6..508822c 100644 (file)
@@ -7,6 +7,7 @@
 #define SIMGRID_XBT_SIGNAL_HPP
 
 #include <functional>
+#include <utility>
 #include <vector>
 
 namespace simgrid {
@@ -26,12 +27,11 @@ namespace xbt {
     typedef std::function<R(P...)> callback_type;
     std::vector<callback_type> handlers_;
   public:
-    template<class U> XBT_ALWAYS_INLINE
+    template<class U>
     void connect(U slot)
     {
       handlers_.push_back(std::move(slot));
     }
-    XBT_ALWAYS_INLINE
     R operator()(P... args) const
     {
       for (auto& handler : handlers_)
index 7f5e474..4f70915 100644 (file)
@@ -4,6 +4,8 @@
 /* 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. */
 
+#include <boost/intrusive/list.hpp>
+
 #include <xbt/base.h>
 
 #include "src/surf/cpu_interface.hpp"
index 9372970..51e5d8b 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef SURF_MODEL_H_
 #define SURF_MODEL_H_
 
+#include <cstddef>
+
 #include <xbt.h>
 #include <memory>
 #include <utility>
index 43fa47e..4b4a895 100644 (file)
@@ -4,6 +4,8 @@
 /* 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. */
 
+#include <xbt/signal.hpp>
+
 #include "cpu_cas01.hpp"
 #include "virtual_machine.hpp"
 
index b65d291..5b1396d 100644 (file)
@@ -4,6 +4,8 @@
 /* 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. */
 
+#include <boost/intrusive/list.hpp>
+
 #include <xbt/base.h>
 
 #include "src/surf/HostImpl.hpp"