From: robertc <> Date: Mon, 9 Jun 2003 09:10:00 +0000 (+0000) Subject: Summary: Range used a not-quite standard syntax. X-Git-Tag: SQUID_3_0_PRE1~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85821be70ab7fc9eb59d4f508f52fbdb196cf424;p=thirdparty%2Fsquid.git Summary: Range used a not-quite standard syntax. Keywords: Fixup Range.h for better portability. --- diff --git a/include/Range.h b/include/Range.h index c514164184..ac302d8d99 100644 --- a/include/Range.h +++ b/include/Range.h @@ -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 Range::Range (C start_, C end_) : start(start_), end(end_){} template - -class Range - Range::intersection (Range const &rhs) +Range +Range::intersection (Range const &rhs) { Range result (XMAX(start, rhs.start), XMIN(end, rhs.end)); return result;