We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed8fd2 commit 7911486Copy full SHA for 7911486
include/boost/gil/extension/io/png/detail/write.hpp
@@ -171,10 +171,24 @@ class writer< Device
171
{};
172
173
template<typename Info>
174
- struct is_equal_to_sixteen : mp11::mp_less
+ struct is_equal_to_sixteen : mp11::mp_and
175
<
176
- std::integral_constant<int, Info::_bit_depth>,
177
- std::integral_constant<int, 16>
+ mp11::mp_not
+ <
178
+ mp11::mp_less
179
180
+ std::integral_constant<int, Info::_bit_depth>,
181
+ std::integral_constant<int, 16>
182
+ >
183
+ >,
184
185
186
187
188
+ std::integral_constant<int, 16>,
189
+ std::integral_constant<int, Info::_bit_depth>
190
191
192
>
193
194
0 commit comments