On 01/04/2017 07:42 PM, Amos Jeffries wrote:
> This patch removes String.cci file, moving the simple methods inline to
> the SquidString.h and more complicated others to String.cc.

Thank you for doing this long-overdue cleanup.


> +    /// throws when size() > INT_MAX
> +    int psize() const {
> +        Must(size() < INT_MAX);
> +        return size();

The code does not match its description: The code also throws when
size() is exactly INT_MAX for some reason.

Please commit when you are comfortable with the code.

Alex.



_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to