diff options
author | Mario Emmenlauer <mario@emmenlauer.de> | 2020-04-08 14:39:58 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2020-12-03 23:01:53 +0100 |
commit | c0619235bdaaaf16941abbf8ba77a84a06708178 (patch) | |
tree | cff42d044e5cc0505e90548e3d1d714c10fb4c86 | |
parent | c981cf8891cab7277ddb083282c27549da5a9dda (diff) | |
download | thrift-c0619235bdaaaf16941abbf8ba77a84a06708178.tar.gz |
Make ~TException() virtual
Client: cpp
Patch: Mario Emmenlauer
This closes #2281
-rw-r--r-- | lib/cpp/src/thrift/Thrift.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpp/src/thrift/Thrift.h b/lib/cpp/src/thrift/Thrift.h index 6cb24e660..d5066ee71 100644 --- a/lib/cpp/src/thrift/Thrift.h +++ b/lib/cpp/src/thrift/Thrift.h @@ -79,7 +79,7 @@ public: 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()) { |