diff options
-rw-r--r-- | openmp/runtime/src/kmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h index fb2da37ad62..885495218ea 100644 --- a/openmp/runtime/src/kmp.h +++ b/openmp/runtime/src/kmp.h @@ -629,6 +629,8 @@ public: }; void* operator new(size_t n); void operator delete(void* p); + // Need virtual destructor + virtual ~KMPAffinity() = default; // Determine if affinity is capable virtual void determine_capable(const char* env_var) {} // Bind the current thread to os proc |