diff options
| author | Dan Albert <danalbert@google.com> | 2014-04-23 04:46:46 +0000 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2014-04-23 04:46:46 +0000 |
| commit | 5f60710f2b67328a248d60b82563ab1a66023acd (patch) | |
| tree | a5368bf0f314a7fe0ef675698360aba2793cb948 /libcxxabi | |
| parent | 0056c8eb017b1be46dc63dd6cf3a403f66078439 (diff) | |
| download | bcm5719-llvm-5f60710f2b67328a248d60b82563ab1a66023acd.tar.gz bcm5719-llvm-5f60710f2b67328a248d60b82563ab1a66023acd.zip | |
Fix virtual class with non-virtual dtor complaint
Fixes compiler complaint about:
src/Unwind/UnwindCursor.hpp:366:25: error: 'libunwind::AbstractUnwindCursor' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
llvm-svn: 206942
Diffstat (limited to 'libcxxabi')
| -rw-r--r-- | libcxxabi/src/Unwind/UnwindCursor.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/Unwind/UnwindCursor.hpp b/libcxxabi/src/Unwind/UnwindCursor.hpp index aa14dd1529a..035e471d136 100644 --- a/libcxxabi/src/Unwind/UnwindCursor.hpp +++ b/libcxxabi/src/Unwind/UnwindCursor.hpp @@ -365,6 +365,7 @@ private: class _LIBUNWIND_HIDDEN AbstractUnwindCursor { public: + virtual ~AbstractUnwindCursor() {} virtual bool validReg(int) = 0; virtual unw_word_t getReg(int) = 0; virtual void setReg(int, unw_word_t) = 0; |

