summaryrefslogtreecommitdiff
path: root/cpp/common/framing/inc/AMQHeartbeatBody.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/common/framing/inc/AMQHeartbeatBody.h')
-rw-r--r--cpp/common/framing/inc/AMQHeartbeatBody.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/common/framing/inc/AMQHeartbeatBody.h b/cpp/common/framing/inc/AMQHeartbeatBody.h
index ca2def977a..cfe057bdcd 100644
--- a/cpp/common/framing/inc/AMQHeartbeatBody.h
+++ b/cpp/common/framing/inc/AMQHeartbeatBody.h
@@ -30,11 +30,12 @@ class AMQHeartbeatBody : virtual public AMQBody
public:
typedef std::tr1::shared_ptr<AMQHeartbeatBody> shared_ptr;
- virtual ~AMQHeartbeatBody() {}
+ virtual ~AMQHeartbeatBody();
inline u_int32_t size() const { return 0; }
inline u_int8_t type() const { return HEARTBEAT_BODY; }
inline void encode(Buffer& buffer) const {}
inline void decode(Buffer& buffer, u_int32_t size) {}
+ virtual void print(std::ostream& out) const;
};
}