We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef53c13 commit cfc3d78Copy full SHA for cfc3d78
google/cloud/spanner/internal/connection_impl.cc
@@ -357,7 +357,8 @@ spanner::BatchedCommitResult FromProto(
357
}
358
359
template <typename T>
360
-absl::optional<T> GetRandomElement(protobuf::RepeatedPtrField<T> const& m) {
+absl::optional<T> GetRandomElement(
361
+ google::protobuf::RepeatedPtrField<T> const& m) {
362
if (m.empty()) return absl::nullopt;
363
std::uniform_int_distribution<decltype(m.size())> d(0, m.size() - 1);
364
auto rng = internal::MakeDefaultPRNG();
0 commit comments