Don't include the 'global-route-manager-impl.h' private header from the public header 'candidate-queue.h'.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Thu, 20 Dec 2007 15:19:57 +0000
changeset 2196 fb01b99ce66d
parent 2195 2aba42d90953
child 2197 2a729c1b2e68
Don't include the 'global-route-manager-impl.h' private header from the public header 'candidate-queue.h'.
src/routing/global-routing/candidate-queue.cc
src/routing/global-routing/candidate-queue.h
--- a/src/routing/global-routing/candidate-queue.cc	Mon Dec 17 14:53:14 2007 +0000
+++ b/src/routing/global-routing/candidate-queue.cc	Thu Dec 20 15:19:57 2007 +0000
@@ -19,6 +19,7 @@
 #include "ns3/log.h"
 #include "ns3/assert.h"
 #include "candidate-queue.h"
+#include "global-route-manager-impl.h"
 
 NS_LOG_COMPONENT_DEFINE ("CandidateQueue");
 
--- a/src/routing/global-routing/candidate-queue.h	Mon Dec 17 14:53:14 2007 +0000
+++ b/src/routing/global-routing/candidate-queue.h	Thu Dec 20 15:19:57 2007 +0000
@@ -23,10 +23,12 @@
 
 #include <stdint.h>
 #include <list>
-#include "global-route-manager-impl.h"
+#include "ns3/ipv4-address.h"
 
 namespace ns3 {
 
+class SPFVertex;
+
 /**  
  * \brief A Candidate Queue used in static routing.
  *