From: Amos Jeffries Date: Sun, 31 Mar 2013 05:35:20 +0000 (-0600) Subject: Fix compile errors with ICC since rev.12728 X-Git-Tag: SQUID_3_4_0_1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b44909fbe8a5549f9565ff6db80f57b4d1b9f2;p=thirdparty%2Fsquid.git Fix compile errors with ICC since rev.12728 ICC is a bit more strict about const on pass-by-value return types. --- diff --git a/src/http/StatusLine.h b/src/http/StatusLine.h index 1cad667d97..a17d64a85a 100644 --- a/src/http/StatusLine.h +++ b/src/http/StatusLine.h @@ -60,7 +60,7 @@ public: void set(const Http::ProtocolVersion &newVersion, Http::StatusCode newStatus, const char *newReason = NULL); /// retrieve the status code for this status line - const Http::StatusCode status() const { return status_; } + Http::StatusCode status() const { return status_; } /// retrieve the reason string for this status line const char *reason() const;