From 60f35eb4b77f5a0704bcc2567a8976b332c564ca Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Sep 2016 11:32:07 +0200 Subject: 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 --- include/tools/fract.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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(); -- cgit