3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-12 03:44:07 +00:00

fix compiler warnings

This commit is contained in:
Nuno Lopes 2022-10-12 09:43:50 +01:00
parent a2e0646eed
commit 8ad480ab59
6 changed files with 80 additions and 97 deletions

View file

@ -41,9 +41,6 @@ mpf::mpf(unsigned _ebits, unsigned _sbits):
set(ebits, sbits);
}
mpf::~mpf() {
}
void mpf::swap(mpf & other) {
unsigned tmp = ebits;
ebits = other.ebits;
@ -64,9 +61,6 @@ mpf_manager::mpf_manager() :
m_powers2(m_mpz_manager) {
}
mpf_manager::~mpf_manager() {
}
void mpf_manager::set(mpf & o, unsigned ebits, unsigned sbits, int value) {
static_assert(sizeof(int) == 4, "assume integers are 4 bytes");