Skip to content

Commit

Permalink
Dead code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsidianMinor committed Sep 18, 2018
1 parent 792f9dd commit b6b77d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/google/protobuf/compiler/csharp/csharp_message.cc
Expand Up @@ -95,10 +95,6 @@ std::string MessageGenerator::full_class_name() {
return GetClassName(descriptor_);
}

const std::vector<std::string>& MessageGenerator::field_names() {
return field_names_;
}

const std::vector<const FieldDescriptor*>& MessageGenerator::fields_by_number() {
return fields_by_number_;
}
Expand Down
4 changes: 0 additions & 4 deletions src/google/protobuf/compiler/csharp/csharp_message.h
Expand Up @@ -57,7 +57,6 @@ class MessageGenerator : public SourceGeneratorBase {

private:
const Descriptor* descriptor_;
std::vector<std::string> field_names_;
std::vector<const FieldDescriptor*> fields_by_number_;
int has_bit_field_count_;

Expand All @@ -75,9 +74,6 @@ class MessageGenerator : public SourceGeneratorBase {
std::string class_name();
std::string full_class_name();

// field names sorted alphabetically
const std::vector<std::string>& field_names();

// field descriptors sorted by number
const std::vector<const FieldDescriptor*>& fields_by_number();

Expand Down

0 comments on commit b6b77d1

Please sign in to comment.