Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move forward declaration in simgrid/forward.h.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 5 Mar 2018 15:08:29 +0000 (16:08 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 7 Mar 2018 08:35:55 +0000 (09:35 +0100)
include/simgrid/forward.h
include/simgrid/s4u/Engine.hpp
src/kernel/routing/NetZoneImpl.hpp

index 231385f..932705a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-2018. 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. */
@@ -14,6 +14,7 @@
 
 namespace simgrid {
 namespace kernel {
+class EngineImpl;
 namespace context {
 class Context;
 class ContextFactory;
index c76d22e..bb204e9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2018. 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. */
 #include <xbt/base.h>
 #include <xbt/functional.hpp>
 
+#include <simgrid/forward.h>
 #include <simgrid/simix.hpp>
 
 #include <simgrid/s4u/NetZone.hpp>
-#include <simgrid/s4u/forward.hpp>
 
 namespace simgrid {
-namespace kernel {
-class EngineImpl;
-}
 namespace s4u {
 /** @brief Simulation engine
  *
index 83ec1f8..9e0b013 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2017. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2016-2018. 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. */
 
 #include "xbt/graph.h"
 
+#include "simgrid/forward.h"
 #include "simgrid/s4u/NetZone.hpp"
-#include "simgrid/s4u/forward.hpp"
 #include "src/surf/xml/platf_private.hpp" // FIXME: kill sg_platf_route_cbarg_t to remove that UGLY include
 
 namespace simgrid {
 namespace kernel {
-class EngineImpl;
 namespace routing {
 class BypassRoute;