aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/map_field_inl.h
diff options
context:
space:
mode:
authorMatt Hauck <matthauck@gmail.com>2017-07-11 11:02:24 -0700
committerMatt Hauck <matthauck@gmail.com>2017-07-11 11:02:24 -0700
commit2130feadcfdbe0268b1afe6b050e000c83120aba (patch)
tree95e30551230afe50cd95837d3002d0ebed72e929 /src/google/protobuf/map_field_inl.h
parent9ab7c73f7c989afa777a40ff2a7c5f0f138be22c (diff)
downloadprotobuf-2130feadcfdbe0268b1afe6b050e000c83120aba.tar.gz
protobuf-2130feadcfdbe0268b1afe6b050e000c83120aba.tar.bz2
protobuf-2130feadcfdbe0268b1afe6b050e000c83120aba.zip
Fix map_field_inl.h for gcc 4.1
Diffstat (limited to 'src/google/protobuf/map_field_inl.h')
-rw-r--r--src/google/protobuf/map_field_inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/map_field_inl.h b/src/google/protobuf/map_field_inl.h
index 0cfed72f..e317b5ed 100644
--- a/src/google/protobuf/map_field_inl.h
+++ b/src/google/protobuf/map_field_inl.h
@@ -252,9 +252,9 @@ template <typename Derived, typename Key, typename T,
WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void MapField<Derived, Key, T, kKeyFieldType, kValueFieldType,
default_enum_value>::Swap(MapField* other) {
- std::swap(MapFieldBase::repeated_field_, other->repeated_field_);
+ std::swap(this->MapFieldBase::repeated_field_, other->repeated_field_);
impl_.Swap(&other->impl_);
- std::swap(MapFieldBase::state_, other->state_);
+ std::swap(this->MapFieldBase::state_, other->state_);
}
template <typename Derived, typename Key, typename T,