]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
operator != declared outside of the HttpRequestMethod class results in
authorrousskov <>
Wed, 14 Nov 2007 06:09:23 +0000 (06:09 +0000)
committerrousskov <>
Wed, 14 Nov 2007 06:09:23 +0000 (06:09 +0000)
operator overloading warnings on some platforms. The operator does not appear
to be required.

src/HttpRequestMethod.h

index fbece9a07aa7440d13e453502fc3d090a10eca6a..582a293a10e2f5cfedc2542bb1624ecdc7886315 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpRequestMethod.h,v 1.4 2007/03/03 18:25:05 hno Exp $
+ * $Id: HttpRequestMethod.h,v 1.5 2007/11/13 23:09:23 rousskov Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -135,8 +135,6 @@ private:
 
 };
 
-inline bool operator != (HttpRequestMethod const &left, method_t const &right) { return right != left; }
-
 inline std::ostream &
 operator << (std::ostream &os, HttpRequestMethod const &method)
 {