bug 1470 - define default parameter for constructor in .h file

This commit is contained in:
Alexander Afanasyev
2012-08-26 23:42:38 -07:00
parent 8886f99095
commit 20cf7f4cb8
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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)
{
}

View File

@@ -54,7 +54,7 @@ class TypeHeader : public Header
{
public:
/// c-tor
TypeHeader (MessageType t);
TypeHeader (MessageType t = AODVTYPE_RREQ);
///\name Header serialization/deserialization
//\{