Skip to content

Commit

Permalink
Backport PR matplotlib#28534: [BLD] Fix WSL build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic authored and meeseeksmachine committed Jul 13, 2024
1 parent a2bfc9e commit fadfe84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_image_resample.h
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ typedef enum {

// T is rgba if and only if it has an T::r field.
template<typename T, typename = void> struct is_grayscale : std::true_type {};
template<typename T> struct is_grayscale<T, decltype(T::r, void())> : std::false_type {};
template<typename T> struct is_grayscale<T, std::void_t<decltype(T::r)>> : std::false_type {};


template<typename color_type>
Expand Down

0 comments on commit fadfe84

Please sign in to comment.