From c4e396a256f6878b3c2e925c9b7958e213274a53 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Tue, 16 Sep 2014 10:38:21 +0200 Subject: [PATCH] Fix error message to print not the type (we know it) but the arg kind. --- core/metautils/src/TMetaUtils.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 1.8.2