From: Amos Jeffries Date: Sat, 8 Jul 2017 19:28:42 +0000 (+1200) Subject: Fix ignored-qualifiers warning in class String X-Git-Tag: SQUID_4_0_22~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37510c427c5dcadabad7629fa585077dfdbe85f8;p=thirdparty%2Fsquid.git Fix ignored-qualifiers warning in class String --- diff --git a/src/SquidString.h b/src/SquidString.h index 6f3a816da7..29e4eafcbf 100644 --- a/src/SquidString.h +++ b/src/SquidString.h @@ -45,7 +45,7 @@ public: /// The absolute size limit on data held in a String. /// Since Strings can be nil-terminated implicitly it is best to ensure /// the useful content length is strictly less than this limit. - static const size_type SizeMaxXXX() { return SizeMax_; } + static size_type SizeMaxXXX() { return SizeMax_; } _SQUID_INLINE_ size_type size() const; /// variant of size() suited to be used for printf-alikes.