diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-12-17 06:59:40 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-12-17 06:59:40 +0000 |
| commit | 0ffde91745aadc4612f80ade95530605e60283db (patch) | |
| tree | 8fe10a4b2bf198bbd6b761ce9fb27c48c225eb59 /src/2geom/ord.h | |
| parent | non-poppler build fix (diff) | |
| download | inkscape-0ffde91745aadc4612f80ade95530605e60283db.tar.gz inkscape-0ffde91745aadc4612f80ade95530605e60283db.zip | |
CRLF fix
(bzr r4247)
Diffstat (limited to 'src/2geom/ord.h')
| -rw-r--r-- | src/2geom/ord.h | 30 |
1 files changed, 15 insertions, 15 deletions
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 <typename T1, typename T2>
-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 <typename T1, typename T2> +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; + } } } |
