3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00

remove noexcept since MSVC 2012 doest support it

This commit is contained in:
Nuno Lopes 2017-10-13 01:07:04 +01:00
parent b53d69be18
commit d1c13f17b0
5 changed files with 7 additions and 7 deletions

View file

@ -94,7 +94,7 @@ class mpz {
public:
mpz(int v):m_val(v), m_ptr(0) {}
mpz():m_val(0), m_ptr(0) {}
mpz(mpz && other) noexcept : m_val(other.m_val), m_ptr(0) {
mpz(mpz && other) : m_val(other.m_val), m_ptr(0) {
std::swap(m_ptr, other.m_ptr);
}
void swap(mpz & other) {