From b01f55de3b7724e736327b4c40df555caa8bcebe Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Wed, 23 Apr 2014 17:28:06 +0200
Subject: [PATCH] Only complain about inspecting std classes for persistent
 members.

---
 core/meta/src/TClass.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/meta/src/TClass.cxx b/core/meta/src/TClass.cxx
index 5b5de882691..fdfff077389 100644
--- a/core/meta/src/TClass.cxx
+++ b/core/meta/src/TClass.cxx
@@ -1825,7 +1825,7 @@ void TClass::BuildRealData(void* pointer, Bool_t isTransient)
    // Complain about stl classes ending up here (unique_ptr etc) - except for
    // pair where we will build .first, .second just fine
    // and those for which the user explicitly requested a dictionary.
-   if (GetState() != kHasTClassInit
+   if (!isTransient && GetState() != kHasTClassInit
        && TClassEdit::IsStdClass(GetName())
        && strncmp(GetName(), "pair<", 5) != 0) {
       Error("BuildRealData", "Inspection for %s not supported!", GetName());
-- 
GitLab