Commit 39867861 authored by Hao Nguyen's avatar Hao Nguyen

Make sure to return the updated line when modifying .pb.h file

parent ec1a7091
......@@ -156,6 +156,7 @@ def UpdateCpp():
r'^#if .* < PROTOBUF_MIN_PROTOC_VERSION$',
'#if %s < PROTOBUF_MIN_PROTOC_VERSION' % cpp_version,
line)
return line
RewriteTextFile('src/google/protobuf/stubs/common.h', RewriteCommon)
RewriteTextFile('src/google/protobuf/port_def.inc', RewritePortDef)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment