From: Amos Jeffries Date: Sat, 8 Jul 2017 19:28:42 +0000 (+1200) Subject: Fix ignored-qualifiers warning in class String X-Git-Tag: M-staged-PR71~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98d0df032f1241f1b202c46a02bf3b7521e5f859;p=thirdparty%2Fsquid.git Fix ignored-qualifiers warning in class String --- diff --git a/src/SquidString.h b/src/SquidString.h index 10de8b421d..08a305dfd2 100644 --- a/src/SquidString.h +++ b/src/SquidString.h @@ -66,7 +66,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_; } size_type size() const { return len_; }