class PGPeeringEvent {
epoch_t epoch_sent;
epoch_t epoch_requested;
- string desc;
+ std::string desc;
public:
boost::intrusive_ptr< const boost::statechart::event_base > evt;
bool requires_pg;
evt(evt_.intrusive_from_this()),
requires_pg(req),
create_info(ci) {
- stringstream out;
+ std::stringstream out;
out << "epoch_sent: " << epoch_sent
<< " epoch_requested: " << epoch_requested << " ";
evt_.print(&out);
const boost::statechart::event_base &get_event() {
return *evt;
}
- const string& get_desc() {
+ const std::string& get_desc() {
return desc;
}
};
: pgid(p), from(from), notify(notify), features(f), past_intervals(pi) {}
void print(std::ostream *out) const {
*out << "MNotifyRec " << pgid << " from " << from << " notify: " << notify
- << " features: 0x" << hex << features << dec
+ << " features: 0x" << std::hex << features << std::dec
<< " " << past_intervals;
}
};