--- a/src/devices/csma/csma-net-device.h Wed Jan 06 18:04:22 2010 -0800
+++ b/src/devices/csma/csma-net-device.h Tue Jan 19 10:31:58 2010 -0800
@@ -125,6 +125,13 @@
void SetQueue (Ptr<Queue> queue);
/**
+ * Get a copy of the attached Queue.
+ *
+ * \return a pointer to the queue.
+ */
+ Ptr<Queue> GetQueue (void) const;
+
+ /**
* Attach a receive ErrorModel to the CsmaNetDevice.
*
* The CsmaNetDevice may optionally include an ErrorModel in
@@ -414,16 +421,6 @@
virtual void DoDispose (void);
/**
- * Get a copy of the attached Queue.
- *
- * This method is provided for any derived class that may need to get
- * direct access to the underlying queue.
- *
- * \return a pointer to the queue.
- */
- Ptr<Queue> GetQueue (void) const;
-
- /**
* Adds the necessary headers and trailers to a packet of data in order to
* respect the packet type
*