QueryInterface -> GetObject

This commit is contained in:
Mathieu Lacage
2008-01-31 22:11:03 +01:00
parent 2786b195ee
commit 5ade799440
49 changed files with 139 additions and 139 deletions

View File

@@ -284,7 +284,7 @@ Queue::CreateDefault (void)
{
NS_LOG_FUNCTION;
TypeId interfaceId = g_interfaceIdDefaultValue.GetValue ();
Ptr<Queue> queue = interfaceId.CreateObject ()->QueryInterface<Queue> ();
Ptr<Queue> queue = interfaceId.CreateObject ()->GetObject<Queue> ();
return queue;
}