mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
refactor(Core): apply clang-tidy modernize-use-nodiscard (#3835)
This commit is contained in:
@@ -33,16 +33,16 @@ public:
|
||||
RealmSocket(void);
|
||||
~RealmSocket(void) override;
|
||||
|
||||
size_t recv_len(void) const;
|
||||
[[nodiscard]] size_t recv_len(void) const;
|
||||
bool recv_soft(char* buf, size_t len);
|
||||
bool recv(char* buf, size_t len);
|
||||
void recv_skip(size_t len);
|
||||
|
||||
bool send(const char* buf, size_t len);
|
||||
|
||||
const std::string& getRemoteAddress(void) const;
|
||||
[[nodiscard]] const std::string& getRemoteAddress(void) const;
|
||||
|
||||
uint16 getRemotePort(void) const;
|
||||
[[nodiscard]] uint16 getRemotePort(void) const;
|
||||
|
||||
int open(void*) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user