mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-05 21:18:04 +00:00
Fixed end() iterator and also applied default copy-constructor instead of passing null handle in BasicMessageBuilder
This commit is contained in:
@@ -154,7 +154,7 @@ private:
|
||||
HeaderIterator(HeaderListType headers,
|
||||
size_t index)
|
||||
: header_list_(std::move(headers)),
|
||||
header_(index == header_list_.size() ? HeaderType() : header_list_.at(index)),
|
||||
header_(header_list_.empty() ? HeaderType() : header_list_.at(index)),
|
||||
index_(index) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user