diff options
Diffstat (limited to 'cpp/src/qpid/framing/SequenceNumber.cpp')
-rw-r--r-- | cpp/src/qpid/framing/SequenceNumber.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/SequenceNumber.cpp b/cpp/src/qpid/framing/SequenceNumber.cpp index cba00c860a..9e682d89e4 100644 --- a/cpp/src/qpid/framing/SequenceNumber.cpp +++ b/cpp/src/qpid/framing/SequenceNumber.cpp @@ -21,6 +21,7 @@ #include "SequenceNumber.h" #include "Buffer.h" +#include <ostream> using qpid::framing::SequenceNumber; using qpid::framing::Buffer; @@ -102,4 +103,8 @@ int32_t operator-(const SequenceNumber& a, const SequenceNumber& b) return result; } +std::ostream& operator<<(std::ostream& o, const SequenceNumber& n) { + return o << n.getValue(); +} + }} |