Skip to content

Commit 9b350eb

Browse files
plexoosdkapukchyan
authored andcommitted
fix: include missing header TLine.h (star-bnl#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 star-bnl#619 for details
1 parent 44e8cc3 commit 9b350eb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#include "StRoot/StFgtUtil/StFgtConsts.h"
8181

8282
#include <TCanvas.h>
83+
#include <TLine.h>
8384
#include <TPave.h>
8485
#include <TPaveText.h>
8586
#include <TPaveStats.h>

StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <TFile.h>
1212
#include <TText.h>
1313
#include <TLatex.h>
14+
#include <TLine.h>
1415
#include <TList.h>
1516
#include <TBox.h>
1617
#include <TPaveText.h>

StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <TStyle.h>
1111
#include <TFile.h>
1212
#include <TText.h>
13+
#include <TLine.h>
1314
#include <TList.h>
1415
#include <TBox.h>
1516
#include <TPaveText.h>

0 commit comments

Comments
 (0)