mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 11:07:56 +00:00
Add default constructor to Topic
This commit is contained in:
@@ -51,6 +51,14 @@ public:
|
||||
*/
|
||||
static Topic make_non_owning(rd_kafka_topic_t* handle);
|
||||
|
||||
/**
|
||||
* \brief Constructs an empty topic
|
||||
*
|
||||
* Note that using any methods except Topic::get_handle on an empty topic is undefined
|
||||
* behavior
|
||||
*/
|
||||
Topic();
|
||||
|
||||
/**
|
||||
* \brief Constructs a topic using a handle
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user