diff options
author | Eric Christopher <echristo@gmail.com> | 2013-03-15 00:20:17 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-03-15 00:20:17 +0000 |
commit | c7bc60cd4bfe21868aacd8a87b13590b314ed330 (patch) | |
tree | 2906085cf342ebeb69f631ba589334f72a19a17f /lib/sanitizer_common/sanitizer_thread_registry.cc | |
parent | 827d4ef8b76760ef8c58612d916b8f53081bf368 (diff) | |
download | compiler-rt-c7bc60cd4bfe21868aacd8a87b13590b314ed330.tar.gz |
Fix a virtual destructor warning.
Patch by Manuel Klimek!
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_thread_registry.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_thread_registry.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_thread_registry.cc b/lib/sanitizer_common/sanitizer_thread_registry.cc index 3454c51fb..87c36b096 100644 --- a/lib/sanitizer_common/sanitizer_thread_registry.cc +++ b/lib/sanitizer_common/sanitizer_thread_registry.cc @@ -22,6 +22,8 @@ ThreadContextBase::ThreadContextBase(u32 tid) name[0] = '\0'; } +ThreadContextBase::~ThreadContextBase() {} + void ThreadContextBase::SetName(const char *new_name) { name[0] = '\0'; if (new_name) { |