diff options
| author | Alan Conway <aconway@apache.org> | 2007-01-04 20:14:20 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-01-04 20:14:20 +0000 |
| commit | 135e339d6c1b751ff8ae93e7d1dfa43a9c7a1323 (patch) | |
| tree | b66a92831927b1db4b177e0f291cb0e79f93eb96 /cpp | |
| parent | 6b06bbb126aaea182408b8bb9638fc9806444775 (diff) | |
| download | qpid-python-135e339d6c1b751ff8ae93e7d1dfa43a9c7a1323.tar.gz | |
Fixed some compile errors:
- Fix error in code generator for decoding timestamps.
- Add dummy op<< for framing::Content
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@492713 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/lib/common/framing/FramingContent.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/cpp/lib/common/framing/FramingContent.h b/cpp/lib/common/framing/FramingContent.h index 1ab3ba468b..e7dd6804d8 100644 --- a/cpp/lib/common/framing/FramingContent.h +++ b/cpp/lib/common/framing/FramingContent.h @@ -22,10 +22,10 @@ #ifndef _Content_ #define _Content_ -namespace qpid -{ -namespace framing -{ +#include <ostream> + +namespace qpid { +namespace framing { /* * TODO: New Content class required for AMQP 0-9. This is a stub only. @@ -37,11 +37,14 @@ class Content void encode(Buffer& buffer) const; void decode(Buffer& buffer); - + size_t size() const; }; - -} // namespace framing -} // namespace qpid + + +// TODO aconway 2007-01-04: operator << is undefined, just for compilation. +std::ostream& operator<<(std::ostream&, const Content&); + +}} // namespace qpid::framing #endif |
