diff options
Diffstat (limited to 'cpp/src/qpid/cluster/Event.h')
-rw-r--r-- | cpp/src/qpid/cluster/Event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Event.h b/cpp/src/qpid/cluster/Event.h index f0e445a08c..76ba88a87f 100644 --- a/cpp/src/qpid/cluster/Event.h +++ b/cpp/src/qpid/cluster/Event.h @@ -54,7 +54,7 @@ class EventHeader { /** Size of payload data, excluding header. */ size_t getSize() const { return size; } /** Size of header + payload. */ - size_t getStoreSize() { return size + HEADER_SIZE; } + size_t getStoreSize() const { return size + HEADER_SIZE; } bool isCluster() const { return connectionId.getNumber() == 0; } bool isConnection() const { return connectionId.getNumber() != 0; } @@ -99,10 +99,10 @@ class Event : public EventHeader { operator framing::Buffer() const; - iovec toIovec(); + iovec toIovec() const; private: - void encodeHeader(); + void encodeHeader() const; RefCountedBuffer::pointer store; }; |