Skip to content

Commit

Permalink
Use uint64 to match protobuf signature
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed May 30, 2020
1 parent 6f72faa commit 47a7cf2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/compiler/cpp_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CppGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
CppGrpcGenerator() {}
virtual ~CppGrpcGenerator() {}

uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/csharp_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CSharpGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
CSharpGrpcGenerator() {}
~CSharpGrpcGenerator() {}

uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/node_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NodeGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
NodeGrpcGenerator() {}
~NodeGrpcGenerator() {}

uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/objective_c_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ObjectiveCGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
virtual ~ObjectiveCGrpcGenerator() {}

public:
uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/php_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PHPGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
PHPGrpcGenerator() {}
~PHPGrpcGenerator() {}

uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/python_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ static bool ParseParameters(const grpc::string& parameter,
return true;
}

uint64_t PythonGrpcGenerator::GetSupportedFeatures() const {
uint64 PythonGrpcGenerator::GetSupportedFeatures() const {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/python_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PythonGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
PythonGrpcGenerator(const GeneratorConfiguration& config);
~PythonGrpcGenerator();

uint64_t GetSupportedFeatures() const override;
uint64 GetSupportedFeatures() const override;

bool Generate(const grpc::protobuf::FileDescriptor* file,
const grpc::string& parameter,
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/ruby_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RubyGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
RubyGrpcGenerator() {}
~RubyGrpcGenerator() {}

uint64_t GetSupportedFeatures() const override {
uint64 GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Expand Down

0 comments on commit 47a7cf2

Please sign in to comment.