QueryInterface -> GetObject
This commit is contained in:
1 parent
f43b57a122
commit
eb652032a8
49 files changed
+139
-139
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user