make USER-OMP code compatible with pre-c++ 11 compilers again

This commit is contained in:
Axel Kohlmeyer 2019-08-01 08:14:03 -04:00
parent e3c91626c8
commit a6bd86eb77
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class ThrData {
public:
ThrData(int tid, class Timer *t);
~ThrData() { delete _timer; _timer = nullptr; };
~ThrData() { delete _timer; _timer = NULL; };
void check_tid(int); // thread id consistency check
int get_tid() const { return _tid; }; // our thread id.
@ -136,7 +136,7 @@ class ThrData {
// disabled default methods
private:
ThrData() : _tid(-1), _timer(nullptr) {};
ThrData() : _tid(-1), _timer(NULL) {};
};
////////////////////////////////////////////////////////////////////////