diff --git a/slsDetectorSoftware/slsDetector/slsDetector.h b/slsDetectorSoftware/slsDetector/slsDetector.h index 5a7350643..b5e0f66e7 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.h +++ b/slsDetectorSoftware/slsDetector/slsDetector.h @@ -280,7 +280,7 @@ typedef struct sharedSlsDetector { //slsDetector(string const fname); // ~slsDetector(){while(dataQueue.size()>0){}}; /** destructor */ - ~slsDetector(); + virtual ~slsDetector(); int setOnline(int const online=GET_ONLINE_FLAG);