From 85821be70ab7fc9eb59d4f508f52fbdb196cf424 Mon Sep 17 00:00:00 2001 From: robertc <> Date: Mon, 9 Jun 2003 09:10:00 +0000 Subject: [PATCH] Summary: Range used a not-quite standard syntax. Keywords: Fixup Range.h for better portability. --- include/Range.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 2.47.2