mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
Drop unused CV-qualifiers from scalar return values
This commit is contained in:
parent
7a2a2a32cc
commit
cdbfd9654f
2 changed files with 4 additions and 4 deletions
|
@ -57,10 +57,10 @@ public:
|
|||
template <> class numeric_traits<int> {
|
||||
public:
|
||||
static bool precise() { return true; }
|
||||
static int const zero() { return 0; }
|
||||
static int const one() { return 1; }
|
||||
static int zero() { return 0; }
|
||||
static int one() { return 1; }
|
||||
static bool is_zero(int v) { return v == 0; }
|
||||
static double const get_double(int const & d) { return d; }
|
||||
static double get_double(int const & d) { return d; }
|
||||
static bool is_int(int) {return true;}
|
||||
static bool is_pos(int j) {return j > 0;}
|
||||
static bool is_neg(int j) {return j < 0;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue