From 0ffde91745aadc4612f80ade95530605e60283db Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 17 Dec 2007 06:59:40 +0000 Subject: CRLF fix (bzr r4247) --- src/2geom/ord.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/2geom/ord.h') diff --git a/src/2geom/ord.h b/src/2geom/ord.h index d0e348aec..735de6a3a 100644 --- a/src/2geom/ord.h +++ b/src/2geom/ord.h @@ -4,11 +4,11 @@ namespace { -enum Cmp { - LESS_THAN=-1, - GREATER_THAN=1, - EQUAL_TO=0 -}; +enum Cmp { + LESS_THAN=-1, + GREATER_THAN=1, + EQUAL_TO=0 +}; inline Cmp operator-(Cmp x) { switch(x) { @@ -20,16 +20,16 @@ inline Cmp operator-(Cmp x) { return EQUAL_TO; } } - -template -inline Cmp cmp(T1 const &a, T2 const &b) { - if ( a < b ) { - return LESS_THAN; - } else if ( b < a ) { - return GREATER_THAN; - } else { - return EQUAL_TO; - } + +template +inline Cmp cmp(T1 const &a, T2 const &b) { + if ( a < b ) { + return LESS_THAN; + } else if ( b < a ) { + return GREATER_THAN; + } else { + return EQUAL_TO; + } } } -- cgit v1.2.3