diff options
author | 2018-07-07 11:25:52 +0100 | |
---|---|---|
committer | 2018-07-07 11:28:01 +0100 | |
commit | b747b711bb021d0bb550f150e62d3f7dfe6754b2 (patch) | |
tree | 3d5f00235a642eda7b0bc4aca35a61bfbf00bb7b /src/lib/util/un7z.cpp | |
parent | 32ee215a388954d6da30bf408f03e724ee1ff96f (diff) |
fix building with clang 6.0.1 (nw)
Diffstat (limited to 'src/lib/util/un7z.cpp')
-rw-r--r-- | src/lib/util/un7z.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util/un7z.cpp b/src/lib/util/un7z.cpp index 7af3e7f78ce..700d26169d9 100644 --- a/src/lib/util/un7z.cpp +++ b/src/lib/util/un7z.cpp @@ -96,7 +96,8 @@ public: typedef std::unique_ptr<m7z_file_impl> ptr; m7z_file_impl(const std::string &filename); - ~m7z_file_impl() + + virtual ~m7z_file_impl() { if (m_out_buffer) IAlloc_Free(&m_alloc_imp, m_out_buffer); |