Make SocketDescription getters const 98/252598/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 25 Jan 2021 15:01:56 +0000 (16:01 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 3 Feb 2021 11:17:05 +0000 (12:17 +0100)
Change-Id: Ide41dc35598b423f8dac320b02b136b17a21c3cf

src/manager/main/socket-manager.h

index 0f8c4b9..23c8b4c 100644 (file)
@@ -82,17 +82,17 @@ protected:
        void CloseSocket(int sock);
 
        struct SocketDescription {
-               bool isOpen()
+               bool isOpen() const
                {
                        return m_flags & OPEN;
                }
 
-               bool isListen()
+               bool isListen() const
                {
                        return m_flags & LISTEN;
                }
 
-               bool isTimeout()
+               bool isTimeout() const
                {
                        return m_flags & TIMEOUT;
                }