diff options
| author | Gordon Sim <gsim@apache.org> | 2008-04-08 09:18:10 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-04-08 09:18:10 +0000 |
| commit | ab78812720b3334df5ccba8a790fd4f7877c6f49 (patch) | |
| tree | 334dfa6f51b9136cd81f19212bbaf0783497f8b0 /qpid/cpp/src | |
| parent | 6423029adfe2e5992029d1e5f4447331e7ef34d8 (diff) | |
| download | qpid-python-ab78812720b3334df5ccba8a790fd4f7877c6f49.tar.gz | |
Fixed compilation error from ignored qualifier on function return type.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/Serializer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/Serializer.h b/qpid/cpp/src/qpid/Serializer.h index 2660fb2b3e..fc53097207 100644 --- a/qpid/cpp/src/qpid/Serializer.h +++ b/qpid/cpp/src/qpid/Serializer.h @@ -67,7 +67,7 @@ template <class Derived> class Serializer { size_t save; }; - static const size_t maxLimit() { return std::numeric_limits<size_t>::max(); } + static size_t maxLimit() { return std::numeric_limits<size_t>::max(); } Serializer() : bytes(0), limit(maxLimit()) {} |
