From: Axel Naumann Date: Tue, 16 Sep 2014 08:38:21 +0000 (+0200) Subject: Fix error message to print not the type (we know it) but the arg kind. X-Git-Tag: v6-02-00-rc1~100 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=c4e396a256f6878b3c2e925c9b7958e213274a53 Fix error message to print not the type (we know it) but the arg kind. --- diff --git a/core/metautils/src/TMetaUtils.cxx b/core/metautils/src/TMetaUtils.cxx index c471953..95c07ba 100644 --- a/core/metautils/src/TMetaUtils.cxx +++ b/core/metautils/src/TMetaUtils.cxx @@ -4679,8 +4679,8 @@ static void addDeclsToTransactionForType(const clang::Type* typ, // Nothing to fwd declare, hopefully... break; default: - ROOT::TMetaUtils::Error("addDeclsToTransactionForType", "Unexpected TemplateSpecializationType %s\n", - typ->getTypeClassName()); + ROOT::TMetaUtils::Error("addDeclsToTransactionForType", "Unexpected TemplateSpecializationType %d\n", + (int)TA.getKind()); break; } }