commit | c0619235bdaaaf16941abbf8ba77a84a06708178 | [log] [tgz] |
---|---|---|
author | Mario Emmenlauer <mario@emmenlauer.de> | Wed Apr 08 14:39:58 2020 +0200 |
committer | Jens Geyer <jensg@apache.org> | Thu Dec 03 23:01:53 2020 +0100 |
tree | cff42d044e5cc0505e90548e3d1d714c10fb4c86 | |
parent | c981cf8891cab7277ddb083282c27549da5a9dda [diff] |
Make ~TException() virtual Client: cpp Patch: Mario Emmenlauer This closes #2281
diff --git a/lib/cpp/src/thrift/Thrift.h b/lib/cpp/src/thrift/Thrift.h index 6cb24e6..d5066ee 100644 --- a/lib/cpp/src/thrift/Thrift.h +++ b/lib/cpp/src/thrift/Thrift.h
@@ -79,7 +79,7 @@ TException(const std::string& message) : message_(message) {} - ~TException() noexcept override = default; + virtual ~TException() noexcept override = default; const char* what() const noexcept override { if (message_.empty()) {