Unverified Commit a6bd86eb authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent e3c91626
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {};
};

////////////////////////////////////////////////////////////////////////