3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 03:57:51 +00:00

remove a few more copy constructors, though still not enough to enable the assertion in vector

I give up for now; there are too many copies left for little return..
This commit is contained in:
Nuno Lopes 2020-06-03 20:30:21 +01:00
parent e2b2b7f82e
commit e844aef896
17 changed files with 44 additions and 95 deletions

View file

@ -17,8 +17,8 @@ Author:
Revision History:
--*/
#ifndef INF_RATIONAL_H_
#define INF_RATIONAL_H_
#pragma once
#include<stdlib.h>
#include<string>
#include "util/debug.h"
@ -67,11 +67,6 @@ class inf_rational {
inf_rational() {}
inf_rational(const inf_rational & r):
m_first(r.m_first),
m_second(r.m_second)
{}
explicit inf_rational(int n):
m_first(rational(n)),
m_second(rational())
@ -470,5 +465,3 @@ inline inf_rational abs(const inf_rational & r) {
}
return result;
}
#endif /* INF_RATIONAL_H_ */