[Webkit-unassigned] [Bug 251346] New: Unnecessarily using std::variant and std::monostate when we could just use nullptr instead

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 29 22:18:17 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251346

            Bug ID: 251346
           Summary: Unnecessarily using std::variant and std::monostate
                    when we could just use nullptr instead
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darin at apple.com
                CC: dino at apple.com

Noticed that some code is using std::variant and std::monostate for a case where nullptr will do the trick.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230130/d57a5477/attachment.htm>


More information about the webkit-unassigned mailing list