mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +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
|
@ -817,7 +817,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const bool column_is_bounded(unsigned j) const {
|
bool column_is_bounded(unsigned j) const {
|
||||||
switch(m_column_types()[j]) {
|
switch(m_column_types()[j]) {
|
||||||
case column_type::fixed:
|
case column_type::fixed:
|
||||||
case column_type::boxed:
|
case column_type::boxed:
|
||||||
|
|
|
@ -57,10 +57,10 @@ public:
|
||||||
template <> class numeric_traits<int> {
|
template <> class numeric_traits<int> {
|
||||||
public:
|
public:
|
||||||
static bool precise() { return true; }
|
static bool precise() { return true; }
|
||||||
static int const zero() { return 0; }
|
static int zero() { return 0; }
|
||||||
static int const one() { return 1; }
|
static int one() { return 1; }
|
||||||
static bool is_zero(int v) { return v == 0; }
|
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_int(int) {return true;}
|
||||||
static bool is_pos(int j) {return j > 0;}
|
static bool is_pos(int j) {return j > 0;}
|
||||||
static bool is_neg(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