]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Range used a not-quite standard syntax.
authorrobertc <>
Mon, 9 Jun 2003 09:10:00 +0000 (09:10 +0000)
committerrobertc <>
Mon, 9 Jun 2003 09:10:00 +0000 (09:10 +0000)
Keywords:

Fixup Range.h for better portability.

include/Range.h

index c5141641845cf0f2e443aaecd53d4b41aadc0a1e..ac302d8d99a0fc53b56603173c33dca5ce1cf68b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: Range.h,v 1.3 2003/02/25 12:07:41 robertc Exp $
+ * $Id: Range.h,v 1.4 2003/06/09 03:10:00 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -57,9 +57,8 @@ template<class C>
 Range<C>::Range (C start_, C end_) : start(start_), end(end_){}
 
 template<class C>
-
-class Range<C>
-            Range<C>::intersection (Range const &rhs)
+Range<C>
+Range<C>::intersection (Range const &rhs)
 {
     Range<C> result (XMAX(start, rhs.start), XMIN(end, rhs.end));
     return result;