Bug 176

Summary: Using private member as default value of a public API
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Gustavo J. A. M. Carneiro 2008-04-20 13:39:49 UTC
debug/ns3/point-to-point-net-device.h: In function ‘int _wrap_PyNs3PointToPointNetDevice__tp_init__0(PyNs3PointToPointNetDevice*, PyObject*, PyObject*, PyObject**)’:
debug/ns3/point-to-point-net-device.h:324: error: ‘ns3::DataRateDefaultValue ns3::PointToPointNetDevice::g_defaultRate’ is private
debug/bindings/python/ns3module.cc:52569: error: within this context
debug/ns3/point-to-point-net-device.h:324: error: ‘ns3::DataRateDefaultValue ns3::PointToPointNetDevice::g_defaultRate’ is private
debug/bindings/python/ns3module.cc:52572: error: within this context

Nothing else I need to say about this, I hope... :-)
Comment 1 Gustavo J. A. M. Carneiro 2008-04-20 13:52:58 UTC
Oops, nevermind!' I was working on a very old tree by mistake :P