Skip to content

Commit dadab6a

Browse files
authored
Incorporate with Google import (#16)
1 parent e4f58aa commit dadab6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/prefix_writer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace transcoding {
2929

3030
PrefixWriter::PrefixWriter(const std::string& prefix,
3131
google::protobuf::util::converter::ObjectWriter* ow)
32-
: prefix_(google::protobuf::Split(prefix, ".", true)),
32+
: prefix_(google::protobuf::Split(prefix, ".")),
3333
non_actionable_depth_(0),
3434
writer_(ow) {}
3535

src/type_helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ pbutil::Status TypeHelper::ResolveFieldPath(
137137
const pb::Type& type, const std::string& field_path_str,
138138
std::vector<const pb::Field*>* field_path_out) const {
139139
// Split the field names & call ResolveFieldPath()
140-
auto field_names = pb::Split(field_path_str, ".");
140+
const std::vector<std::string> field_names = pb::Split(field_path_str, ".");
141141
return ResolveFieldPath(type, field_names, field_path_out);
142142
}
143143

0 commit comments

Comments
 (0)