Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3725b65ca7925a2894f69600ed27059e077f96a3
https://github.com/WebKit/WebKit/commit/3725b65ca7925a2894f69600ed27059e077f96a3
Author: Yijia Huang <[email protected]>
Date: 2025-02-13 (Thu, 13 Feb 2025)
Changed paths:
M Source/WTF/wtf/EnumTraits.h
Log Message:
-----------
[WTF] Add static assertions to ensure EnumTraits<E>::max/min match the
underlying type of E
https://bugs.webkit.org/show_bug.cgi?id=287644
rdar://144797941
Reviewed by Keith Miller.
Ensure that EnumTraits<E>::max/min matches the underlying type of E
to avoid confusion when falling back to defaults.
* Source/WTF/wtf/EnumTraits.h:
(WTF::enumNamesMin):
(WTF::enumNamesMax):
Canonical link: https://commits.webkit.org/290352@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes