[Openmp-commits] [PATCH] D30271: [OpenMP] Missing virtual destructor in KMPAffinity
George Rokos via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 22 15:02:11 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL295896: [OpenMP] Missing virtual destructor in KMPAffinity (authored by grokos).
Changed prior to commit:
https://reviews.llvm.org/D30271?vs=89415&id=89432#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30271
Files:
openmp/trunk/runtime/src/kmp.h
Index: openmp/trunk/runtime/src/kmp.h
===================================================================
--- openmp/trunk/runtime/src/kmp.h
+++ openmp/trunk/runtime/src/kmp.h
@@ -629,6 +629,8 @@
};
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30271.89432.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170222/3b6ae5af/attachment.bin>
More information about the Openmp-commits
mailing list