summaryrefslogtreecommitdiff
path: root/src/rational.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-18 10:37:51 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-18 10:38:17 +0100
commita25cc3fda26e2bbc6b1c3786cc7f2ed7141a29f0 (patch)
tree763e292124b43b8c652bb4d34eaae5e14e8236f6 /src/rational.h
parent4f6f03dc72d9cd24f3e4b2d856c5ccb66bda3930 (diff)
Fix Time::add which was broken when adding times with different rates.
Diffstat (limited to 'src/rational.h')
-rw-r--r--src/rational.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rational.h b/src/rational.h
index 7ff71c0..adc40f9 100644
--- a/src/rational.h
+++ b/src/rational.h
@@ -41,5 +41,6 @@ public:
};
bool operator== (Rational const & a, Rational const & b);
+Rational max (Rational const & a, Rational const & b);
}