Ignore:
Timestamp:
Dec 10, 2009, 11:51:20 AM (15 years ago)
Author:
[email protected]
Message:

Fix three more things found by compiling with clang++.

Reviewed by Geoffrey Garen.

  • runtime/Structure.h:

(JSC::StructureTransitionTable::reifySingleTransition):
Add the 'std' qualifier to the call to make_pair.

  • wtf/DateMath.cpp:

(WTF::initializeDates):
Incrementing a bool is deprecated according to the C++ specification.

  • wtf/PtrAndFlags.h:

(WTF::PtrAndFlags::PtrAndFlags):
Name lookup should not be done in dependent bases, so explicitly qualify the call to set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/DateMath.cpp

    r50927 r51955  
    464464#ifndef NDEBUG
    465465    static bool alreadyInitialized;
    466     ASSERT(!alreadyInitialized++);
     466    ASSERT(!alreadyInitialized);
     467    alreadyInitialized = true;
    467468#endif
    468469
Note: See TracChangeset for help on using the changeset viewer.