make the internal InterfaceId constructor explicit
This commit is contained in:
@@ -273,7 +273,7 @@ InterfaceId::GetRegisteredN (void)
|
||||
InterfaceId
|
||||
InterfaceId::GetRegistered (uint32_t i)
|
||||
{
|
||||
return Singleton<IidManager>::Get ()->GetRegistered (i);
|
||||
return InterfaceId (Singleton<IidManager>::Get ()->GetRegistered (i));
|
||||
}
|
||||
|
||||
InterfaceId
|
||||
|
||||
@@ -103,7 +103,7 @@ private:
|
||||
friend bool operator == (InterfaceId a, InterfaceId b);
|
||||
friend bool operator != (InterfaceId a, InterfaceId b);
|
||||
|
||||
InterfaceId (uint16_t iid);
|
||||
explicit InterfaceId (uint16_t iid);
|
||||
void DoAddConstructor (CallbackBase callback, uint32_t nArguments);
|
||||
CallbackBase LookupConstructor (uint32_t nArguments);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user