Skip to content

Commit 6274cc6

Browse files
authored
refactor(spanner): remove unnecessary interface class (#15371)
1 parent c7d96c9 commit 6274cc6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

google/cloud/spanner/internal/partial_result_set_source.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace cloud {
3737
namespace spanner_internal {
3838
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
3939

40-
class PrecommitInterface {
40+
class PartialResultSourceInterface : public spanner::ResultSourceInterface {
4141
public:
4242
/**
4343
* A precommit token is included if the read-write transaction is on
@@ -51,9 +51,6 @@ class PrecommitInterface {
5151
}
5252
};
5353

54-
class PartialResultSourceInterface : public spanner::ResultSourceInterface,
55-
public PrecommitInterface {};
56-
5754
/**
5855
* This class serves as a bridge between the gRPC `PartialResultSet` streaming
5956
* reader and the spanner `ResultSet`, and is used to iterate over the rows

0 commit comments

Comments
 (0)