diff options
Diffstat (limited to 'cpp/src/qpid/cluster/Event.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Event.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index 4831e7eabe..52564990f6 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -115,16 +115,16 @@ const AMQFrame& Event::getFrame() const { static const char* EVENT_TYPE_NAMES[] = { "data", "control" }; -std::ostream& operator << (std::ostream& o, EventType t) { +std::ostream& operator<< (std::ostream& o, EventType t) { return o << EVENT_TYPE_NAMES[t]; } -std::ostream& operator << (std::ostream& o, const EventHeader& e) { +std::ostream& operator<< (std::ostream& o, const EventHeader& e) { return o << "Event[" << e.getConnectionId() << " " << e.getType() << " " << e.getSize() << " bytes]"; } -std::ostream& operator << (std::ostream& o, const Event& e) { +std::ostream& operator<< (std::ostream& o, const Event& e) { o << "Event[" << e.getConnectionId() << " "; if (e.getType() == CONTROL) o << e.getFrame(); |