diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-10-20 19:30:50 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-10-20 19:30:50 +0000 |
| commit | 5b4e1339866db3be97b00ee11cd19dfa0596efe1 (patch) | |
| tree | 06bbf2340ea35ee4d82ede0f17b43f8fd891a9c2 /source/QXmppClient.cpp | |
| parent | e2be03e254a956024c9d67b19b8a809c9692b6f1 (diff) | |
| download | qxmpp-5b4e1339866db3be97b00ee11cd19dfa0596efe1.tar.gz | |
fix for Issue 18: Class XXX has virtual functions but non-virtual destructor -warnings
and other warnings
Diffstat (limited to 'source/QXmppClient.cpp')
| -rw-r--r-- | source/QXmppClient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/QXmppClient.cpp b/source/QXmppClient.cpp index 5c6f892b..4618da55 100644 --- a/source/QXmppClient.cpp +++ b/source/QXmppClient.cpp @@ -191,8 +191,7 @@ void QXmppClient::disconnect() QXmppRoster& QXmppClient::getRoster()
{
- if(m_stream)
- return m_stream->getRoster();
+ return m_stream->getRoster();
}
/// Utility function to send message to all the resources associated with the
|
