From f8ebb0e2b1a679401161d7218f11723cdd1c825b Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 10 Sep 2021 22:44:55 +0300 Subject: [PATCH] Update Net.hpp --- module/Library/Net.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/module/Library/Net.hpp b/module/Library/Net.hpp index fe0e6973..dec3a541 100644 --- a/module/Library/Net.hpp +++ b/module/Library/Net.hpp @@ -272,14 +272,6 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient > */ WebSocketClient & operator = (WebSocketClient &&) = delete; - /* -------------------------------------------------------------------------------------------- - * Retrieve the associated user tag. - */ - SQMOD_NODISCARD const String & GetTag() const - { - return mTag; - } - /* -------------------------------------------------------------------------------------------- * Return whether the associated connection handle is valid. */ @@ -297,6 +289,14 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient > return mClosing.load(); } + /* -------------------------------------------------------------------------------------------- + * Retrieve the associated user tag. + */ + SQMOD_NODISCARD const String & GetTag() const + { + return mTag; + } + /* -------------------------------------------------------------------------------------------- * Modify the associated user tag. */