mirror of https://github.com/CGAL/cgal
Aos: Add default and copy constructor to avoid warning
This commit is contained in:
parent
96f698ca09
commit
6ac5b7d871
|
|
@ -90,8 +90,11 @@ struct Pixel_2_
|
||||||
|
|
||||||
Integer sub_x, sub_y; // subpixel coordinates relative to pixel's boundary
|
Integer sub_x, sub_y; // subpixel coordinates relative to pixel's boundary
|
||||||
// (always 0 for pixels)
|
// (always 0 for pixels)
|
||||||
|
Pixel_2_() = default;
|
||||||
|
|
||||||
Pixel_2_& operator =(const Pixel_2_& pix) = default;
|
Pixel_2_(const Pixel_2_&) = default;
|
||||||
|
|
||||||
|
Pixel_2_& operator =(const Pixel_2_&) = default;
|
||||||
|
|
||||||
bool operator ==(const Pixel_2_& pix) const {
|
bool operator ==(const Pixel_2_& pix) const {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue