diff options
author | xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-11-30 16:29:03 +0000 |
---|---|---|
committer | xiaofeng@google.com <xiaofeng@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-11-30 16:29:03 +0000 |
commit | 9c1c31ff165fceb76a0ec50cd7097038264c6908 (patch) | |
tree | fedeb0fa7ce102cc9037fe1822adc1620e2cdbf2 /src/google/protobuf/text_format.cc | |
parent | d2d50f9a73184ea77e7b907b7767a6f4c8c8d4bf (diff) | |
download | protobuf-9c1c31ff165fceb76a0ec50cd7097038264c6908.tar.gz protobuf-9c1c31ff165fceb76a0ec50cd7097038264c6908.tar.bz2 protobuf-9c1c31ff165fceb76a0ec50cd7097038264c6908.zip |
Fix compile issues under GCC 3.4.6
Diffstat (limited to 'src/google/protobuf/text_format.cc')
-rw-r--r-- | src/google/protobuf/text_format.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/google/protobuf/text_format.cc b/src/google/protobuf/text_format.cc index 1ee3df50..cabb99ed 100644 --- a/src/google/protobuf/text_format.cc +++ b/src/google/protobuf/text_format.cc @@ -434,8 +434,8 @@ class TextFormat::Parser::ParserImpl { // If a parse info tree exists, add the location for the parsed // field. if (parse_info_tree_ != NULL) { - parse_info_tree_->RecordLocation(field, - ParseLocation(start_line, start_column)); + RecordLocation(parse_info_tree_, field, + ParseLocation(start_line, start_column)); } return true; @@ -483,7 +483,7 @@ class TextFormat::Parser::ParserImpl { // for the nested message. ParseInfoTree* parent = parse_info_tree_; if (parent != NULL) { - parse_info_tree_ = parent->CreateNested(field); + parse_info_tree_ = CreateNested(parent, field); } string delimeter; |