Эх сурвалжийг харах

Fixes compile on GCC 3.2 according to Sergey Tihansky.

kenton@google.com 15 жил өмнө
parent
commit
c25f833baf

+ 1 - 1
src/google/protobuf/repeated_field.h

@@ -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>());
   }
 }