mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
Return const &
This commit is contained in:
@@ -79,7 +79,7 @@ namespace BlackCore
|
||||
//! \name Network functions
|
||||
//! @{
|
||||
virtual bool isConnected() const override { return m_status == vatStatusConnected; }
|
||||
virtual BlackMisc::Network::CServer getPresetServer() const override { return m_server; }
|
||||
virtual const BlackMisc::Network::CServer &getPresetServer() const override { return m_server; }
|
||||
virtual bool isPendingConnection() const override { return m_status == vatStatusConnecting; }
|
||||
virtual void presetLoginMode(LoginMode mode) override;
|
||||
virtual void presetServer(const BlackMisc::Network::CServer &server) override;
|
||||
|
||||
Reference in New Issue
Block a user