diff options
| author | Vincent Richard <[email protected]> | 2010-03-10 15:54:23 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2010-03-10 15:54:23 +0000 |
| commit | 3604182a9a30441eace9c0c1d628c9c092076537 (patch) | |
| tree | 30409a9e793dd4526a61d0cc9ea660127ff3ab5a /src/security/sasl/defaultSASLAuthenticator.cpp | |
| parent | Fixed bug #2966885: memory leak caused by strong ref (thanks to tuxx from SF). (diff) | |
| download | vmime-3604182a9a30441eace9c0c1d628c9c092076537.tar.gz vmime-3604182a9a30441eace9c0c1d628c9c092076537.zip | |
Fixed compilation issue with 'const'.
Diffstat (limited to 'src/security/sasl/defaultSASLAuthenticator.cpp')
| -rw-r--r-- | src/security/sasl/defaultSASLAuthenticator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/sasl/defaultSASLAuthenticator.cpp b/src/security/sasl/defaultSASLAuthenticator.cpp index 32192f78..4eae4e39 100644 --- a/src/security/sasl/defaultSASLAuthenticator.cpp +++ b/src/security/sasl/defaultSASLAuthenticator.cpp @@ -121,7 +121,7 @@ void defaultSASLAuthenticator::setSASLSession(ref <SASLSession> sess) ref <SASLSession> defaultSASLAuthenticator::getSASLSession() const { - return m_saslSession.acquire(); + return m_saslSession.acquire().constCast <SASLSession>(); } |
