From 97f3f6a977fabe971c0b530f41e85be678fc00e8 Mon Sep 17 00:00:00 2001 From: Anatole SCHRAMM Date: Mon, 15 Apr 2019 12:58:08 +0200 Subject: [PATCH] Added const keyword for the getters --- src/app/CFGParameterValue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/CFGParameterValue.h b/src/app/CFGParameterValue.h index 4b745de..2b49f5b 100644 --- a/src/app/CFGParameterValue.h +++ b/src/app/CFGParameterValue.h @@ -27,8 +27,8 @@ public: return strcmp(_value,"true") == 0 || strcmp(_value,"TRUE") == 0 ? true : false; } const char *getParameter() const{return _parameter == NULL ? "" : _parameter;} - bool isQuotedParameter()const{return _quotedParameter;} - bool isQuotedValue()const{return _quotedValue;} + const bool isQuotedParameter()const{return _quotedParameter;} + const bool isQuotedValue()const{return _quotedValue;} virtual const char *toString() { return _value;