diff options
| author | Gordon Sim <gsim@apache.org> | 2013-05-24 11:14:53 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-05-24 11:14:53 +0000 |
| commit | cbe9017b20a65124a559b5b9393638830a73f54c (patch) | |
| tree | 7366deaba1df8fe73015294326dfaf90b063a4c3 /qpid | |
| parent | 22848a93fd32d0e318fd6a3c3c512e9e427cec3a (diff) | |
| download | qpid-python-cbe9017b20a65124a559b5b9393638830a73f54c.tar.gz | |
QPID-4855: fix compilation error with some compilers (merged from r1483436)
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1486009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/Sasl.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp b/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp index a8bae1adda..40f469cdcf 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp @@ -37,6 +37,7 @@ Sasl::Sasl(const std::string& id, ConnectionContext& c, const std::string& hostn sasl(qpid::SaslFactory::getInstance().create(c.username, c.password, c.service, hostname_, c.minSsf, c.maxSsf, false)), hostname(hostname_), readHeader(true), writeHeader(true), haveOutput(false), state(NONE) {} +Sasl::~Sasl() {} std::size_t Sasl::decode(const char* buffer, std::size_t size) { size_t decoded = 0; diff --git a/qpid/cpp/src/qpid/messaging/amqp/Sasl.h b/qpid/cpp/src/qpid/messaging/amqp/Sasl.h index 6657779fdc..1e6209bca5 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/Sasl.h +++ b/qpid/cpp/src/qpid/messaging/amqp/Sasl.h @@ -42,6 +42,7 @@ class Sasl : public qpid::sys::Codec, qpid::amqp::SaslClient { public: Sasl(const std::string& id, ConnectionContext& context, const std::string& hostname); + ~Sasl(); std::size_t decode(const char* buffer, std::size_t size); std::size_t encode(char* buffer, std::size_t size); bool canEncode(); |
