Skip to content

Commit

Permalink
fix: include missing header TLine.h (#626)
Browse files Browse the repository at this point in the history
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 #619 for details
  • Loading branch information
plexoos authored Nov 7, 2023
1 parent 0809f9e commit 4046a0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions StRoot/StFgtPool/StFgtQaMakers/StFgtPedStatQA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
#include "StRoot/StFgtUtil/StFgtConsts.h"

#include <TCanvas.h>
#include <TLine.h>
#include <TPave.h>
#include <TPaveText.h>
#include <TPaveStats.h>
Expand Down
1 change: 1 addition & 0 deletions StRoot/StSpinPool/StWalgo2011/WeventDisplay.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <TFile.h>
#include <TText.h>
#include <TLatex.h>
#include <TLine.h>
#include <TList.h>
#include <TBox.h>
#include <TPaveText.h>
Expand Down
1 change: 1 addition & 0 deletions StRoot/StSpinPool/StWalgoB2009/WeventDisplay.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <TStyle.h>
#include <TFile.h>
#include <TText.h>
#include <TLine.h>
#include <TList.h>
#include <TBox.h>
#include <TPaveText.h>
Expand Down

0 comments on commit 4046a0a

Please sign in to comment.