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/runtime/Structure.h

    r50704 r51955  
    308308        setTransitionTable(transitionTable);
    309309        if (existingTransition)
    310             add(make_pair(existingTransition->m_nameInPrevious.get(), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
     310            add(std::make_pair(existingTransition->m_nameInPrevious.get(), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
    311311    }
    312312} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.