From 4046a0aed1290e285b8c846cfd207133f4283239 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Tue, 7 Nov 2023 12:20:56 -0500 Subject: [PATCH] fix: include missing header TLine.h (#626) These errors appear when building the code against ROOT6.24 ``` .sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:434:18: error: invalid use of incomplete type 'class TLine' 434 | lineB->Draw(); | ^~ In file included from .sl79_gcc11/OBJ/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx:84: /opt/software/linux-scientific7-x86_64/gcc-11.2.1/root-6.24.06-vianfhcgeujnnnnhm7g6hhr3tnsiwfqt/include/TPaveText.h:19:7: note: forward declaration of 'class TLine' 19 | class TLine; | ^~~~~ ``` See https://github.com/star-bnl/star-sw/pull/619 for details --- StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx | 1 + StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx | 1 + StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx | 1 + 3 files changed, 3 insertions(+) diff --git a/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx b/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx index 998a7047e66..7648d0c158b 100644 --- a/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx +++ b/StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx @@ -80,6 +80,7 @@ #include "StRoot/StFgtUtil/StFgtConsts.h" #include +#include #include #include #include diff --git a/StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx b/StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx index 3a58c4ef8cb..4814b4751cc 100644 --- a/StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx +++ b/StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx b/StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx index fbbc0190d60..49451a5774e 100644 --- a/StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx +++ b/StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include