check constructor with reference arguments

This commit is contained in:
Mathieu Lacage committed 2008-01-03 10:15:41 +01:00
1 parent 64bb988613
commit 93be0562cc
1 file changed
+4 -1
+4 -1
View File
@@ -669,11 +669,14 @@ public:
static ns3::InterfaceId iid (void) {
static ns3::InterfaceId iid = ns3::InterfaceId ("DerivedB")
.SetParent (BaseB::iid ())
.AddConstructor<DerivedB,int> ();
.AddConstructor<DerivedB,int> ()
.AddConstructor<DerivedB,int,int &> ();
return iid;
}
DerivedB (int v)
{}
DerivedB (int v1, int &v2)
{}
void DerivedGenerateTrace (int16_t v)
{ m_sourceDerived = v; }
virtual void Dispose (void) {