From 93be0562cc66e02bfb56a471f28b94705d06fd2b Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 3 Jan 2008 10:15:41 +0100 Subject: [PATCH] check constructor with reference arguments --- src/core/object.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/object.cc b/src/core/object.cc index ef2b239b4..ac16ec000 100644 --- a/src/core/object.cc +++ b/src/core/object.cc @@ -669,11 +669,14 @@ public: static ns3::InterfaceId iid (void) { static ns3::InterfaceId iid = ns3::InterfaceId ("DerivedB") .SetParent (BaseB::iid ()) - .AddConstructor (); + .AddConstructor () + .AddConstructor (); return iid; } DerivedB (int v) {} + DerivedB (int v1, int &v2) + {} void DerivedGenerateTrace (int16_t v) { m_sourceDerived = v; } virtual void Dispose (void) {