From 67daa5e37227089e3525b9318b13b56714f5fd54 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 25 Sep 2012 05:56:41 +0200 Subject: this operator can be const --- sc/inc/conditio.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index ae7bcb932ac1..b9b24c44060e 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -134,7 +134,7 @@ protected: class approx_less : public std::binary_function { public: - bool operator() (double nVal1, double nVal2) + bool operator() (double nVal1, double nVal2) const { if(nVal1 < nVal2 && !rtl::math::approxEqual(nVal1, nVal2)) return true; -- cgit