[webkit-changes] cvs commit: JavaScriptCore/kxmlcore HashTable.h

Eric eseidel at opensource.apple.com
Sat Dec 24 23:52:16 PST 2005


eseidel     05/12/24 23:52:16

  Modified:    .        ChangeLog
               kxmlcore HashTable.h
  Log:
  Bug #: none
  Submitted by: eseidel
  Reviewed by: mjs
          Un-break HashTable copy constructor.
  
          * kxmlcore/HashTable.h:
          (KXMLCore::::HashTable): use const_iterator instead
  
  Revision  Changes    Path
  1.927     +9 -0      JavaScriptCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/ChangeLog,v
  retrieving revision 1.926
  retrieving revision 1.927
  diff -u -r1.926 -r1.927
  --- ChangeLog	24 Dec 2005 22:06:55 -0000	1.926
  +++ ChangeLog	25 Dec 2005 07:52:14 -0000	1.927
  @@ -1,3 +1,12 @@
  +2005-12-25  Eric Seidel  <eseidel at apple.com>
  +
  +        Reviewed by mjs.
  +
  +        Un-break HashTable copy constructor.
  +
  +        * kxmlcore/HashTable.h:
  +        (KXMLCore::::HashTable): use const_iterator instead
  +
   2005-12-23  Maciej Stachowiak  <mjs at apple.com>
   
           Reviewed by Eric.
  
  
  
  1.3       +2 -2      JavaScriptCore/kxmlcore/HashTable.h
  
  Index: HashTable.h
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/kxmlcore/HashTable.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HashTable.h	23 Dec 2005 01:52:43 -0000	1.2
  +++ HashTable.h	25 Dec 2005 07:52:16 -0000	1.3
  @@ -565,8 +565,8 @@
       {
           // doesn't matter if copying a hashtable is efficient so just
           // do it the dumb way, by copying each element.
  -        iterator end = other.end();
  -        for (iterator it = other.begin(); it != end; ++it) {
  +        const_iterator end = other.end();
  +        for (const_iterator it = other.begin(); it != end; ++it) {
               insert(*it);
           }
       }
  
  
  



More information about the webkit-changes mailing list