File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,6 @@ struct packed_pixel
61
61
packed_pixel () = default ;
62
62
explicit packed_pixel (const BitField& bitfield) : _bitfield(bitfield) {}
63
63
64
- // Construct from another compatible pixel type
65
- packed_pixel (const packed_pixel& p) : _bitfield(p._bitfield) {}
66
-
67
64
template <typename Pixel>
68
65
packed_pixel (Pixel const & p,
69
66
typename std::enable_if<is_pixel<Pixel>::value>::type* /* dummy*/ = nullptr )
@@ -110,12 +107,6 @@ struct packed_pixel
110
107
gil::at_c<4 >(*this ) = chan4;
111
108
}
112
109
113
- auto operator =(packed_pixel const & p) -> packed_pixel&
114
- {
115
- _bitfield = p._bitfield ;
116
- return *this ;
117
- }
118
-
119
110
template <typename Pixel>
120
111
auto operator =(Pixel const & p) -> packed_pixel&
121
112
{
You can’t perform that action at this time.
0 commit comments