From d2c80f4d1afdc5e7514ee86a1fcb1c6d77754767 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 15 Jan 2008 15:14:24 +0000 Subject: [PATCH] Print the correct type in the callback assign error message (instead of Ptr) --- src/core/callback.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/callback.h b/src/core/callback.h index 07ec03496..1fa9d9c52 100644 --- a/src/core/callback.h +++ b/src/core/callback.h @@ -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 (PeekPointer (other));