Mercurial > dedupe
diff OrderedPair.hpp @ 9:b5943e4bf676
Fix up header includes.
Introduce outer catch.
Fix coding style.
Remove spurious debug output.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 22 Aug 2012 18:48:07 +0200 |
| parents | a3834af36579 |
| children | b9515dc35fe4 |
line wrap: on
line diff
--- a/OrderedPair.hpp Wed Aug 22 18:18:20 2012 +0200 +++ b/OrderedPair.hpp Wed Aug 22 18:48:07 2012 +0200 @@ -7,7 +7,7 @@ class OrderedPair : public QPair<S, S> { public: - OrderedPair(const S& a, const S&b) : QPair<S, S>(a<b?a:b, a<b?b:a) + OrderedPair(const S& a, const S& b) : QPair<S, S>(a < b ? a : b, a < b ? b : a) { } };
