bug 1470 - define default parameter for constructor in .h file
This commit is contained in:
@@ -71,6 +71,7 @@ Bugs fixed
|
||||
- bug 1441 - IPv4 header length handling
|
||||
- bug 1464 - ConfigStore Save + Load => Could not set default value
|
||||
for ns3::UdpSocketImpl::IcmpCallback
|
||||
- bug 1470 - define default parameter for constructor in .h file
|
||||
- bug 1475 - "test.py --list" should sort the output
|
||||
- bug 1476 - TestCase::GetName () should not be private
|
||||
- bug 1477 - Click doesn't work with raw sockets
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace aodv
|
||||
|
||||
NS_OBJECT_ENSURE_REGISTERED (TypeHeader);
|
||||
|
||||
TypeHeader::TypeHeader (MessageType t = AODVTYPE_RREQ) :
|
||||
TypeHeader::TypeHeader (MessageType t) :
|
||||
m_type (t), m_valid (true)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ class TypeHeader : public Header
|
||||
{
|
||||
public:
|
||||
/// c-tor
|
||||
TypeHeader (MessageType t);
|
||||
TypeHeader (MessageType t = AODVTYPE_RREQ);
|
||||
|
||||
///\name Header serialization/deserialization
|
||||
//\{
|
||||
|
||||
Reference in New Issue
Block a user