mirror of https://github.com/CGAL/cgal
solved complilation warnings
This commit is contained in:
parent
49230bdd5b
commit
ab1132faa4
|
|
@ -31,7 +31,8 @@ class Complex_number
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Complex_number(const FT& real_part)
|
Complex_number(const FT& real_part)
|
||||||
: _real(real_part)
|
: _real(real_part),
|
||||||
|
_imag(0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Complex_number(const FT& real_part, const FT& imaginary_part)
|
Complex_number(const FT& real_part, const FT& imaginary_part)
|
||||||
|
|
|
||||||
|
|
@ -619,7 +619,7 @@ from_stream(std::istream& s)
|
||||||
int nb_darts = std::stoi(line);
|
int nb_darts = std::stoi(line);
|
||||||
|
|
||||||
// Load the anchor
|
// Load the anchor
|
||||||
int anchor_dart_id;
|
int anchor_dart_id = 0;
|
||||||
s >> line;
|
s >> line;
|
||||||
if (!line.compare("yes")) {
|
if (!line.compare("yes")) {
|
||||||
_has_anchor = true;
|
_has_anchor = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue