Updated abs.hh
authorMartin Read <mpread@chiark.greenend.org.uk>
Mon, 28 Feb 2011 10:53:19 +0000 (10:53 +0000)
committerMartin Read <mpread@chiark.greenend.org.uk>
Mon, 28 Feb 2011 10:53:19 +0000 (10:53 +0000)
include/libmormegil/abs.hh

index d8330ee..05a0e66 100644 (file)
 
 namespace libmormegil
 {
-    inline template<typename T> T abs(const T& i) { i < T(0) ? -i : i; }
+    template<typename T> inline T abs(const T& i)
+    {
+        i < T(0) ? -i : i;
+    }
 }
 #endif // libmormegil_abs_hh