mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 14:53:53 -07:00
Un-const non-pointer return types
This commit is contained in:
parent
a3f4012d1a
commit
8ac2a5870d
3 changed files with 6 additions and 6 deletions
|
|
@ -9,8 +9,8 @@ class ServerInfo_User;
|
|||
*/
|
||||
class UserlistProxy {
|
||||
public:
|
||||
virtual const bool isOwnUserRegistered() const = 0;
|
||||
virtual const QString getOwnUsername() const = 0;
|
||||
virtual bool isOwnUserRegistered() const = 0;
|
||||
virtual QString getOwnUsername() const = 0;
|
||||
virtual bool isUserBuddy(const QString &userName) const = 0;
|
||||
virtual bool isUserIgnored(const QString &userName) const = 0;
|
||||
virtual const ServerInfo_User* getOnlineUser(const QString &userName) const = 0; // Can return nullptr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue