remove const qualifier from uint16_t
authorTom Henderson <tomh@tomh.org>
Fri, 28 Dec 2007 06:50:47 -0800
changeset 2204 4d23c1277c9c
parent 2203 a83b182ea948
child 2205 57710f066013
remove const qualifier from uint16_t
src/devices/point-to-point/point-to-point-topology.cc
src/devices/point-to-point/point-to-point-topology.h
--- a/src/devices/point-to-point/point-to-point-topology.cc	Wed Dec 26 20:08:48 2007 -0800
+++ b/src/devices/point-to-point/point-to-point-topology.cc	Fri Dec 28 06:50:47 2007 -0800
@@ -130,7 +130,7 @@
 void
 PointToPointTopology::SetIpv4Metric(
   Ptr<const PointToPointChannel> chan,
-  Ptr<Node> n1, Ptr<Node> n2, const uint16_t metric)
+  Ptr<Node> n1, Ptr<Node> n2, uint16_t metric)
 {
 
   // The PointToPoint channel is used to find the relevant NetDevices
--- a/src/devices/point-to-point/point-to-point-topology.h	Wed Dec 26 20:08:48 2007 -0800
+++ b/src/devices/point-to-point/point-to-point-topology.h	Fri Dec 28 06:50:47 2007 -0800
@@ -93,7 +93,7 @@
    */
   static void SetIpv4Metric(
     Ptr<const PointToPointChannel> chan,
-    Ptr<Node> n1, Ptr<Node> n2, const uint16_t metric);
+    Ptr<Node> n1, Ptr<Node> n2, uint16_t metric);
 
   /**
    * \param channel PointToPointChannel to use