mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
added missing initialization of pthread_mutex (#728)
* added missing initialization of pthread_mutex * fixed cut and past error
This commit is contained in:
@ -51,6 +51,7 @@ class interpolatingDetector : public singlePhotonDetector {
|
||||
// cout << "**"<< xmin << " " << xmax << " " << ymin << " " << ymax <<
|
||||
// endl;
|
||||
fi = new pthread_mutex_t;
|
||||
pthread_mutex_init(fi, NULL);
|
||||
};
|
||||
|
||||
interpolatingDetector(interpolatingDetector *orig)
|
||||
|
Reference in New Issue
Block a user