Skip to content

Commit

Permalink
[cpp-client] Fix compilation issue caused by non-virtual destructor i…
Browse files Browse the repository at this point in the history
…n consumer. (#9105) (#9106)

Related issue: #9105
  • Loading branch information
tongsucn committed Jan 4, 2021
1 parent 866faf5 commit 68be899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pulsar-client-cpp/include/pulsar/Consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class PULSAR_PUBLIC Consumer {
* Construct an uninitialized consumer object
*/
Consumer();
virtual ~Consumer() = default;

/**
* @return the topic this consumer is subscribed to
Expand Down

0 comments on commit 68be899

Please sign in to comment.