summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-05 11:32:07 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 11:32:44 +0200
commit60f35eb4b77f5a0704bcc2567a8976b332c564ca (patch)
tree2044f6a9c50360ca5d63aa568edcd2c50666dc6a /include
parent4aca836a468bb0e2a7aae0800164e2b81f96243f (diff)
drop default param from Fraction::Fraction
because if I make call-sites use the default, I get warnings about ambiguous functional conversions Change-Id: Ifd452c946832d0f9d62a10a46d90fe1ea3e79945
Diffstat (limited to 'include')
-rw-r--r--include/tools/fract.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx
index 35790a9fe15e..64e694fb12df 100644
--- a/include/tools/fract.hxx
+++ b/include/tools/fract.hxx
@@ -39,7 +39,7 @@ public:
Fraction();
Fraction( const Fraction & rFrac );
Fraction( Fraction && rFrac );
- Fraction( long nNum, long nDen=1 );
+ Fraction( long nNum, long nDen );
Fraction( double dVal );
~Fraction();