Ignore:
Timestamp:
Dec 24, 2005, 11:52:16 PM (19 years ago)
Author:
eseidel
Message:

Bug #: none
Submitted by: eseidel
Reviewed by: mjs

Un-break HashTable copy constructor.

  • kxmlcore/HashTable.h: (KXMLCore::::HashTable): use const_iterator instead
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kxmlcore/HashTable.h

    r11739 r11761  
    566566        // doesn't matter if copying a hashtable is efficient so just
    567567        // do it the dumb way, by copying each element.
    568         iterator end = other.end();
    569         for (iterator it = other.begin(); it != end; ++it) {
     568        const_iterator end = other.end();
     569        for (const_iterator it = other.begin(); it != end; ++it) {
    570570            insert(*it);
    571571        }
Note: See TracChangeset for help on using the changeset viewer.