Return const &

This commit is contained in:
Klaus Basan
2018-06-27 01:12:16 +02:00
parent 7a4f723fc0
commit c1208dd68c
4 changed files with 14 additions and 5 deletions

View File

@@ -195,7 +195,10 @@ namespace BlackCore
bool isConnected() const;
//! Get the currently connected server
const BlackMisc::Network::CServer getConnectedServer() const;
const BlackMisc::Network::CServer &getConnectedServer() const;
//! Current ECO system of connected server
const BlackMisc::Network::CEcosystem &getCurrentEcosystem() const;
//! Supports VATSIM data file
//! \remark depends on currently connected Ecosystem