Print the correct type in the callback assign error message (instead of Ptr<const CallbackImplBase>)

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-01-15 15:14:24 +00:00
parent 3b31a0234e
commit d2c80f4d1a

View File

@@ -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));