Skip to content
Permalink
Browse files
REGRESSION(r295627): [GCC] Unreviewed, fix build error in Debian Stable
error: call to non-'constexpr' function 'void WTF::isIntegralOrPointerType()'.

* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::computeMinimumValue): Use
RELEASE_ASSERT_NOT_REACHED_UNDER_CONSTEXPR_CONTEXT

Canonical link: https://commits.webkit.org/251676@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
dpino committed Jun 20, 2022
1 parent 322e94a commit 67e556b448d9704c65e48db98fae40743c51aa07
Showing 1 changed file with 1 addition and 1 deletion.
@@ -192,7 +192,7 @@ static constexpr double computeMinimumValue(IntegerRange range)
return 1.0;
}

RELEASE_ASSERT_NOT_REACHED();
RELEASE_ASSERT_NOT_REACHED_UNDER_CONSTEXPR_CONTEXT();

return 0.0;
}

0 comments on commit 67e556b

Please sign in to comment.