Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 8e1f95c

Browse files
authored
chore: more header cleanup for enabling clang-tidy (#1236)
1 parent f1e2772 commit 8e1f95c

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

google/cloud/spanner/internal/range_from_pagination.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ class PaginationRange {
114114
: request_(std::move(request)),
115115
next_page_loader_(std::move(loader)),
116116
get_items_(std::move(get_items)),
117-
next_page_token_(),
118117
on_last_page_(false) {
119118
current_ = current_page_.begin();
120119
}

google/cloud/spanner/mutations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class WriteMutationBuilder {
107107
field.set_table(std::move(table_name));
108108
field.mutable_columns()->Reserve(static_cast<int>(column_names.size()));
109109
for (auto& name : column_names) {
110-
*field.add_columns() = std::move(name);
110+
field.add_columns(std::move(name));
111111
}
112112
}
113113

google/cloud/spanner/testing/matchers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace cloud {
2828
namespace spanner_testing {
2929
inline namespace SPANNER_CLIENT_NS {
3030

31-
MATCHER_P(IsProtoEqual, value, "") {
31+
MATCHER_P(IsProtoEqual, value, "Checks whether protos are equal") {
3232
std::string delta;
3333
google::protobuf::util::MessageDifferencer differencer;
3434
differencer.ReportDifferencesToString(&delta);

0 commit comments

Comments
 (0)