mirror of
https://github.com/boostorg/algorithm.git
synced 2026-02-03 21:55:14 +01:00
functions used in constexpr context must be marked 'constexpr'
Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
|
||||
namespace ba = boost::algorithm;
|
||||
|
||||
bool intGreater ( int lhs, int rhs ) { return lhs > rhs; }
|
||||
bool doubleGreater ( double lhs, double rhs ) { return lhs > rhs; }
|
||||
BOOST_CONSTEXPR bool intGreater ( int lhs, int rhs ) { return lhs > rhs; }
|
||||
BOOST_CONSTEXPR bool doubleGreater ( double lhs, double rhs ) { return lhs > rhs; }
|
||||
|
||||
class custom {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user