diff options
Diffstat (limited to 'cpp/src/qpid/Serializer.h')
-rw-r--r-- | cpp/src/qpid/Serializer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Serializer.h b/cpp/src/qpid/Serializer.h index fc53097207..a8ded9f5e0 100644 --- a/cpp/src/qpid/Serializer.h +++ b/cpp/src/qpid/Serializer.h @@ -105,7 +105,7 @@ template <class Derived> class Serializer { /** Get the max number of bytes that can be processed under the * current limit. */ - size_t getLimit() const { + size_t bytesRemaining() const { return limit - bytes; } /** Set absolute limit. */ |