Print the correct type in the callback assign error message (instead of Ptr<const CallbackImplBase>)
This commit is contained in:
@@ -354,7 +354,7 @@ private:
|
||||
if (!DoCheckType (other))
|
||||
{
|
||||
NS_FATAL_ERROR ("Incompatible types. (feed to \"c++filt -t\")"
|
||||
" got=" << typeid (other).name () <<
|
||||
" got=" << typeid (*other).name () <<
|
||||
", expected=" << typeid (*this).name ());
|
||||
}
|
||||
m_impl = const_cast<CallbackImplBase *> (PeekPointer (other));
|
||||
|
||||
Reference in New Issue
Block a user