File tree Expand file tree Collapse file tree
google/cloud/bigtable/emulator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ Status Table::MutateRow(google::bigtable::v2::MutateRowRequest const& request) {
239239 request.mutations ());
240240}
241241
242+ // NOLINTBEGIN(readability-function-cognitive-complexity)
242243Status Table::DoMutationsWithPossibleRollback (
243244 std::string const & row_key,
244245 google::protobuf::RepeatedPtrField<google::bigtable::v2::Mutation> const &
@@ -307,6 +308,7 @@ Status Table::DoMutationsWithPossibleRollback(
307308
308309 return Status ();
309310}
311+ // NOLINTEND(readability-function-cognitive-complexity)
310312
311313StatusOr<CellStream> Table::CreateCellStream (
312314 std::shared_ptr<StringRangeSet> range_set,
@@ -594,7 +596,7 @@ Status Table::SampleRowKeys(
594596 // returned.
595597 //
596598 // In such a case, return the last row key.
597- if (!wrote_a_sample && row_offset_map.size () > 0 ) {
599+ if (!wrote_a_sample && ! row_offset_map.empty () ) {
598600 auto it = std::prev (row_offset_map.end ());
599601
600602 google::bigtable::v2::SampleRowKeysResponse resp;
You can’t perform that action at this time.
0 commit comments