⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245325 in webkit


Ignore:
Timestamp:
May 15, 2019, 8:13:02 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

compilation failure with clang 9
https://bugs.webkit.org/show_bug.cgi?id=197911

Patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com> on 2019-05-15
Reviewed by Alex Christensen.

Use std namespace for nullptr_t in tagArrayPtr templates.

  • wtf/PtrTag.h:

(WTF::tagArrayPtr):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r245290 r245325  
     12019-05-15  Víctor Manuel Jáquez Leal  <vjaquez@igalia.com>
     2
     3        compilation failure with clang 9
     4        https://bugs.webkit.org/show_bug.cgi?id=197911
     5
     6        Reviewed by Alex Christensen.
     7
     8        Use std namespace for nullptr_t in tagArrayPtr templates.
     9
     10        * wtf/PtrTag.h:
     11        (WTF::tagArrayPtr):
     12
    1132019-05-14  Commit Queue  <commit-queue@webkit.org>
    214
  • trunk/Source/WTF/wtf/PtrTag.h

    r245064 r245325  
    124124
    125125template<typename T>
    126 inline T* tagArrayPtr(nullptr_t ptr, size_t length)
     126inline T* tagArrayPtr(std::nullptr_t ptr, size_t length)
    127127{
    128128    ASSERT(!length);
     
    429429
    430430template<typename T>
    431 inline T* tagArrayPtr(nullptr_t, size_t size)
     431inline T* tagArrayPtr(std::nullptr_t, size_t size)
    432432{
    433433    ASSERT_UNUSED(size, !size);
Note: See TracChangeset for help on using the changeset viewer.