qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1483436 - in /qpid/trunk/qpid/cpp/src/qpid/messaging/amqp: Sasl.cpp Sasl.h
Date Thu, 16 May 2013 16:41:08 GMT
Author: gsim
Date: Thu May 16 16:41:08 2013
New Revision: 1483436

URL: http://svn.apache.org/r1483436
Log:
QPID-4855: fix compilation error with some compilers

Modified:
    qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp
    qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.h

Modified: qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp?rev=1483436&r1=1483435&r2=1483436&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.cpp Thu May 16 16:41:08 2013
@@ -37,6 +37,7 @@ Sasl::Sasl(const std::string& id, Connec
       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;

Modified: qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.h?rev=1483436&r1=1483435&r2=1483436&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/Sasl.h Thu May 16 16:41:08 2013
@@ -42,6 +42,7 @@ class Sasl : public qpid::sys::Codec, qp
 {
   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();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message