Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1cb1bf4763967eb5c1a71526d5100735405e429
      
https://github.com/WebKit/WebKit/commit/d1cb1bf4763967eb5c1a71526d5100735405e429
  Author: Fady Farag <[email protected]>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M Source/WTF/wtf/EnumTraits.h
    M Source/WTF/wtf/Expected.h
    M Source/WTF/wtf/FixedVector.h
    M Source/WTF/wtf/IsIncreasing.h

  Log Message:
  -----------
  Drop unnecessary usage of ternary operator in WTF
https://bugs.webkit.org/show_bug.cgi?id=307042
rdar://169682438

Reviewed by Chris Dumez.

This improves readability and enforces more idiomatic C++ by resorting to
equivalent binary boolean operations.

* Source/WTF/wtf/EnumTraits.h:
* Source/WTF/wtf/Expected.h:
(std::experimental::fundamentals_v3::operator==):
* Source/WTF/wtf/FixedVector.h:
(WTF::FixedVector::isEmpty const):
* Source/WTF/wtf/IsIncreasing.h:

Canonical link: https://commits.webkit.org/306872@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to