From 3806aa34de0ed516b6d8e42d571b718e14373402 Mon Sep 17 00:00:00 2001 From: Enrico Guiraud Date: Thu, 22 Jun 2017 11:56:40 +0200 Subject: [PATCH] [TDF] Fix jitting in the empty source case (#2) --- tree/treeplayer/inc/ROOT/TDFInterface.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree/treeplayer/inc/ROOT/TDFInterface.hxx b/tree/treeplayer/inc/ROOT/TDFInterface.hxx index 13acd001666d6..9f510396c4867 100644 --- a/tree/treeplayer/inc/ROOT/TDFInterface.hxx +++ b/tree/treeplayer/inc/ROOT/TDFInterface.hxx @@ -241,7 +241,7 @@ public: { auto df = GetDataFrameChecked(); auto tree = df->GetTree(); - auto branches = tree->GetListOfBranches(); + auto branches = tree ? tree->GetListOfBranches() : nullptr; auto tmpBranches = fProxiedPtr->GetTmpBranches(); auto tmpBookedBranches = df->GetBookedBranches(); const std::string expressionInt(expression);