Skip to content

Commit 72095f3

Browse files
authored
Update for internal ClangTidy cleanups
1 parent b922c8a commit 72095f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/field_instance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class ConstFieldInstance {
176176
WireFormatLite::PARSE, "");
177177
}
178178

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

181181
protobuf::FieldDescriptor::CppType cpp_type() const {
182182
return descriptor_->cpp_type();

0 commit comments

Comments
 (0)