Skip to content

Commit 8c63623

Browse files
authored
Include TString header to fix incomplete type error in StGmtGeom (#758)
Fixed build error caused by missing #include <TString.h> in StGmtGeom.h ``` In file included from .sl73_x8664_gcc485/OBJ/StRoot/StGmtUtil/geometry/StGmtGeom.cxx:12:0: .sl73_x8664_gcc485/OBJ/StRoot/StGmtUtil/geometry/StGmtGeom.h:195:14: error: field 'signal' has incomplete type TString signal; // label string ^ .sl73_x8664_gcc485/OBJ/StRoot/StGmtUtil/geometry/StGmtGeom.cxx:657:1: error: too many initializers for 'StGmtGeom::StGmtGeomData' }; ^ ```
1 parent 5d96557 commit 8c63623

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

StRoot/StGmtUtil/geometry/StGmtGeom.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define _ST_GMT_GEOM_H_
1111

1212
#include <TVector3.h>
13+
#include <TString.h>
1314
#include <string>
1415
#include <sstream>
1516
#include <cstdlib>

0 commit comments

Comments
 (0)