@@ -46,6 +46,7 @@ class AsyncRowReader : public std::enable_shared_from_this<
4646 AsyncRowReader<RowFunctor, FinishFunctor>> {
4747 public:
4848 // / Special value to be used as rows_limit indicating no limit.
49+ // NOLINTNEXTLINE(readability-identifier-naming)
4950 static std::int64_t constexpr NO_ROWS_LIMIT = 0 ;
5051 // Callbacks keep pointers to these objects.
5152 AsyncRowReader (AsyncRowReader&&) = delete ;
@@ -63,11 +64,16 @@ class AsyncRowReader : public std::enable_shared_from_this<
6364 " RowFunctor should return a future<bool>." );
6465
6566 static std::shared_ptr<AsyncRowReader> Create (
67+ // NOLINTNEXTLINE(performance-unnecessary-value-param) TODO(#4112)
6668 CompletionQueue cq, std::shared_ptr<DataClient> client,
69+ // NOLINTNEXTLINE(performance-unnecessary-value-param) TODO(#4112)
6770 std::string app_profile_id, std::string table_name, RowFunctor on_row,
71+ // NOLINTNEXTLINE(performance-unnecessary-value-param) TODO(#4112)
6872 FinishFunctor on_finish, RowSet row_set, std::int64_t rows_limit,
73+ // NOLINTNEXTLINE(performance-unnecessary-value-param) TODO(#4112)
6974 Filter filter, std::unique_ptr<RPCRetryPolicy> rpc_retry_policy,
7075 std::unique_ptr<RPCBackoffPolicy> rpc_backoff_policy,
76+ // NOLINTNEXTLINE(performance-unnecessary-value-param) TODO(#4112)
7177 MetadataUpdatePolicy metadata_update_policy,
7278 std::unique_ptr<internal::ReadRowsParserFactory> parser_factory) {
7379 std::shared_ptr<AsyncRowReader> res (new AsyncRowReader (
@@ -233,7 +239,8 @@ class AsyncRowReader : public std::enable_shared_from_this<
233239 }
234240
235241 // / Called when lower layers provide us with a response chunk.
236- future<bool > OnDataReceived (google::bigtable::v2::ReadRowsResponse response) {
242+ future<bool > OnDataReceived (
243+ google::bigtable::v2::ReadRowsResponse const & response) {
237244 // assert(!whole_op_finished_);
238245 // assert(!continue_reading_);
239246 // assert(status_.ok());
@@ -263,6 +270,7 @@ class AsyncRowReader : public std::enable_shared_from_this<
263270 }
264271
265272 // / Called when the whole stream finishes.
273+ // NOLINTNEXTLINE(performance-unnecessary-value-param)
266274 void OnStreamFinished (Status status) {
267275 // assert(!continue_reading_);
268276 if (status_.ok ()) {
0 commit comments