]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix ignored-qualifiers warning in class String
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Jul 2017 19:28:42 +0000 (07:28 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Jul 2017 19:28:42 +0000 (07:28 +1200)
src/SquidString.h

index 10de8b421d358666b85606b2c9e144d4d7b38f0d..08a305dfd254ec00d2549848704749a526c64cd4 100644 (file)
@@ -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_; }