}
void swap(PastIntervals &other) {
- ::swap(other.past_intervals, past_intervals);
+ using std::swap;
+ swap(other.past_intervals, past_intervals);
}
/**
void swap(ObjectModDesc &other) {
bl.swap(other.bl);
- ::swap(other.can_local_rollback, can_local_rollback);
- ::swap(other.rollback_info_completed, rollback_info_completed);
- ::swap(other.max_required_version, max_required_version);
+ using std::swap;
+ swap(other.can_local_rollback, can_local_rollback);
+ swap(other.rollback_info_completed, rollback_info_completed);
+ swap(other.max_required_version, max_required_version);
}
void append_id(ModID id) {
uint8_t _id(id);
while (true) {
if (p == log.begin()) {
// yikes, the whole thing is divergent!
- ::swap(divergent, log);
+ using std::swap;
+ swap(divergent, log);
break;
}
--p;
objects.insert(r.objects.begin(), r.objects.end());
}
void swap(ScrubMap &r) {
- ::swap(objects, r.objects);
- ::swap(valid_through, r.valid_through);
- ::swap(incr_since, r.incr_since);
+ using std::swap;
+ swap(objects, r.objects);
+ swap(valid_through, r.valid_through);
+ swap(incr_since, r.incr_since);
}
void encode(bufferlist& bl) const;