[Libreoffice-commits] core.git: include/tools
Noel Grandin
noel at peralex.com
Mon Sep 5 09:33:20 UTC 2016
include/tools/fract.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 60f35eb4b77f5a0704bcc2567a8976b332c564ca
Author: Noel Grandin <noel at peralex.com>
Date: Mon Sep 5 11:32:07 2016 +0200
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
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx
index 35790a9..64e694f 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();
More information about the Libreoffice-commits
mailing list