Skip to content

Commit

Permalink
Update for internal ClangTidy cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka authored Sep 13, 2024
1 parent b922c8a commit 72095f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/field_instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class ConstFieldInstance {
WireFormatLite::PARSE, "");
}

std::string name() const { return descriptor_->name(); }
std::string name() const { return std::string(descriptor_->name()); }

protobuf::FieldDescriptor::CppType cpp_type() const {
return descriptor_->cpp_type();
Expand Down

0 comments on commit 72095f3

Please sign in to comment.