Bug 175

Summary: "const DataRate &" is just pointless obfuscation
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: minor    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Gustavo J. A. M. Carneiro 2008-04-20 13:26:51 UTC
PointToPointNetDevice (Ptr<Node> node,
                         const DataRate& rate = g_defaultRate.GetValue());

This breaks the python bindings.  I am going to support it, but I think it's silly to pass DataRate by reference, especially coupled with having a default value...
Comment 1 Gustavo J. A. M. Carneiro 2008-04-20 13:54:06 UTC
Oops, never mind, working on wrong tree! :P