]> 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 <yadij@users.noreply.github.com>
Fri, 24 Nov 2017 22:13:23 +0000 (11:13 +1300)
src/SquidString.h

index 6f3a816da77bd381ca4946c884fd04d0a963f2c1..29e4eafcbf0a03f5522e40ac79972b35020e44a6 100644 (file)
@@ -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.