Fixes compile on GCC 3.2 according to Sergey Tihansky.
This commit is contained in:
parent
7db148f92a
commit
c25f833baf
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ template <typename TypeHandler>
|
|||
inline void RepeatedPtrFieldBase::MergeFrom(const RepeatedPtrFieldBase& other) {
|
||||
Reserve(current_size_ + other.current_size_);
|
||||
for (int i = 0; i < other.current_size_; i++) {
|
||||
TypeHandler::Merge(other.Get<TypeHandler>(i), Add<TypeHandler>());
|
||||
TypeHandler::Merge(other.template Get<TypeHandler>(i), Add<TypeHandler>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue