mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
remove a few default constructors
This commit is contained in:
parent
22d9bfad35
commit
a62fede64b
16 changed files with 16 additions and 21 deletions
|
@ -29,7 +29,7 @@ class explanation {
|
|||
vector<std::pair<constraint_index, mpq>> m_vector;
|
||||
ci_set m_set;
|
||||
public:
|
||||
explanation() {}
|
||||
explanation() = default;
|
||||
|
||||
template <typename T>
|
||||
explanation(const T& t) {
|
||||
|
|
|
@ -180,7 +180,7 @@ public:
|
|||
m_column_permutation.transpose_from_left(j, k);
|
||||
}
|
||||
|
||||
general_matrix(){}
|
||||
general_matrix() = default;
|
||||
general_matrix(unsigned n) :
|
||||
m_row_permutation(n),
|
||||
m_column_permutation(n),
|
||||
|
|
|
@ -19,8 +19,7 @@ namespace lp {
|
|||
lia(lia),
|
||||
lra(lia.lra),
|
||||
m_settings(lia.settings()),
|
||||
m_abs_max(zero_of_type<mpq>()),
|
||||
m_var_register() {}
|
||||
m_abs_max(zero_of_type<mpq>()) {}
|
||||
|
||||
bool hnf_cutter::is_full() const {
|
||||
return
|
||||
|
|
|
@ -44,7 +44,7 @@ class implied_bound {
|
|||
k = static_cast<lconstraint_kind>(k / 2);
|
||||
return k;
|
||||
}
|
||||
implied_bound(){}
|
||||
implied_bound() = default;
|
||||
implied_bound(const mpq & a,
|
||||
unsigned j,
|
||||
bool is_lower_bound,
|
||||
|
|
|
@ -76,7 +76,7 @@ public:
|
|||
|
||||
}
|
||||
|
||||
indexed_vector() {}
|
||||
indexed_vector() = default;
|
||||
|
||||
void resize(unsigned data_size);
|
||||
unsigned data_size() const {
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
}
|
||||
}
|
||||
// constructors
|
||||
lar_term() {}
|
||||
lar_term() = default;
|
||||
lar_term(const vector<std::pair<mpq, unsigned>>& coeffs) {
|
||||
for (auto const& p : coeffs) {
|
||||
add_monomial(p.first, p.second);
|
||||
|
|
|
@ -17,7 +17,7 @@ struct point {
|
|||
rational x;
|
||||
rational y;
|
||||
point(const rational& a, const rational& b): x(a), y(b) {}
|
||||
point() {}
|
||||
point() = default;
|
||||
inline point& operator*=(rational a) {
|
||||
x *= a;
|
||||
y *= a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue