Merge pull request #46 from DanielaE/fix/missing-constexpr

functions used in constexpr context must be marked 'constexpr'
This commit is contained in:
Marshall Clow
2018-03-25 13:01:44 -07:00
committed by GitHub

View File

@ -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: