From 7d3b0f640fce7898a5384c1d8e4265ac0bfe30e0 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Mon, 19 Mar 2012 10:42:48 -0400 Subject: [PATCH] Tweaks so that ThcDetectorMap compiles --- Makefile | 3 ++- src/HallC_LinkDef.h | 1 + src/THcDetectorMap.cxx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c2be6e..656d938 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ SRC = src/THcInterface.cxx src/THcParmList.cxx src/THcAnalyzer.cxx \ - src/THcHodoscopeHit.cxx src/THcRawHit.cxx src/THcRawHitList.cxx + src/THcHodoscopeHit.cxx src/THcRawHit.cxx src/THcRawHitList.cxx \ + src/THcDetectorMap.cxx # Name of your package. # The shared library that will be built will get the name lib$(PACKAGE).so diff --git a/src/HallC_LinkDef.h b/src/HallC_LinkDef.h index 6e9bfe6..cde8664 100644 --- a/src/HallC_LinkDef.h +++ b/src/HallC_LinkDef.h @@ -12,5 +12,6 @@ #pragma link C++ class THcRawHit+; #pragma link C++ class THcHodoscopeHit+; #pragma link C++ class THcRawHitList+; +#pragma link C++ class THcDetectorMap+; #endif diff --git a/src/THcDetectorMap.cxx b/src/THcDetectorMap.cxx index d0e073b..2baba7d 100644 --- a/src/THcDetectorMap.cxx +++ b/src/THcDetectorMap.cxx @@ -17,7 +17,7 @@ using namespace std; ClassImp(THcDetectorMap) -THcDetectorMap::Load(const char *fname) +void THcDetectorMap::Load(const char *fname) { } -- GitLab