forked from lijiext/lammps
make USER-OMP code compatible with pre-c++ 11 compilers again
This commit is contained in:
parent
e3c91626c8
commit
a6bd86eb77
|
@ -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) {};
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue