Skip to content

Commit 85db154

Browse files
committed
fix lint
1 parent 2c6aad2 commit 85db154

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/ClientImpl.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ void ClientImpl::createTableViewAsyncV2(const std::string& topic, const TableVie
363363

364364
void ClientImpl::handleReaderMetadataLookup(const Error& error, const LookupDataResultPtr& partitionMetadata,
365365
const TopicNamePtr& topicName, const MessageId& startMessageId,
366-
const ReaderConfiguration& conf, ReaderV2Callback callback) {
366+
const ReaderConfiguration& conf,
367+
const ReaderV2Callback& callback) {
367368
if (error.result != ResultOk) {
368369
LOG_ERROR("Error Checking/Getting Partition Metadata while creating readeron "
369370
<< topicName->toString() << " -- " << error.result);

lib/ClientImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class ClientImpl : public std::enable_shared_from_this<ClientImpl> {
199199

200200
void handleReaderMetadataLookup(const Error& error, const LookupDataResultPtr& partitionMetadata,
201201
const TopicNamePtr& topicName, const MessageId& startMessageId,
202-
const ReaderConfiguration& conf, ReaderV2Callback callback);
202+
const ReaderConfiguration& conf, const ReaderV2Callback& callback);
203203

204204
void handleGetPartitions(Result result, const LookupDataResultPtr& partitionMetadata,
205205
const TopicNamePtr& topicName, const GetPartitionsCallback& callback);

0 commit comments

Comments
 (0)