Aos: Add default and copy constructor to avoid warning

This commit is contained in:
Andreas Fabri 2024-02-09 09:10:58 +00:00
parent 96f698ca09
commit 6ac5b7d871
1 changed files with 4 additions and 1 deletions

View File

@ -90,8 +90,11 @@ struct Pixel_2_
Integer sub_x, sub_y; // subpixel coordinates relative to pixel's boundary
// (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 {
return (