Fixed call to typeid().
committer: mfx <mfx> 1049380061 +0000
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ void printErr(const char *iname, const Throwable *e)
|
|||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
|
||||||
upx_snprintf(buf, sizeof(buf), "%s", prettyName(typeid(e).name()));
|
upx_snprintf(buf, sizeof(buf), "%s", prettyName(typeid(*e).name()));
|
||||||
if (e->getMsg())
|
if (e->getMsg())
|
||||||
upx_snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),": %s", e->getMsg());
|
upx_snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),": %s", e->getMsg());
|
||||||
if (e->getErrno())
|
if (e->getErrno())
|
||||||
|
|||||||
Reference in New Issue
Block a user