|
Bugzilla – Full Text Bug Listing |
| Summary: | "const DataRate &" is just pointless obfuscation | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | core | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
Oops, never mind, working on wrong tree! :P |
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...