Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d0444ef

Browse filesBrowse files
authored
Merge pull request #28564 from meeseeksmachine/auto-backport-of-pr-28534-on-v3.9.x
Backport PR #28534 on branch v3.9.x ([BLD] Fix WSL build warning)
2 parents ab1fd69 + fadfe84 commit d0444ef
Copy full SHA for d0444ef

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/_image_resample.h

Copy file name to clipboardExpand all lines: src/_image_resample.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ typedef enum {
500500

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

505505

506506
template<typename color_type>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.