From 8e42a25e570565b2ad30717b914ace84b08c87ec Mon Sep 17 00:00:00 2001 From: ANAND Date: Fri, 13 Sep 2019 11:34:06 +0530 Subject: [PATCH] client.h: Add missing const's --- src/client/client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index 934175ff2..dee60b6d5 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -333,11 +333,11 @@ public: // disconnect client when CSM failed. const std::string &accessDeniedReason() const { return m_access_denied_reason; } - bool itemdefReceived() + const bool itemdefReceived() const { return m_itemdef_received; } - bool nodedefReceived() + const bool nodedefReceived() const { return m_nodedef_received; } - bool mediaReceived() + const bool mediaReceived() const { return !m_media_downloader; } const bool activeObjectsReceived() const { return m_activeobjects_received; }