Bug #: 3849
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jul 2005 07:38:24 +0000 (07:38 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jul 2005 07:38:24 +0000 (07:38 +0000)
Submitted by: eseidel
Reviewed by: mjs

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9610 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQPtrDict.h

index 14849c1e2f940daea864dcba38974c90f28af374..a09b19cb1e79ff3c62372bf2ac97b47d15c1165b 100644 (file)
@@ -1,3 +1,11 @@
+2005-07-07  Eric Seidel  <eseidel@apple.com>
+
+        Reviewed by mjs.
+
+        * kwq/KWQPtrDict.h: Additions for KDOM
+        (QPtrDictIterator::operator()): essentially post-increment.
+        http://bugzilla.opendarwin.org/show_bug.cgi?id=3849
+
 2005-07-07  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by mjs.
index 9c5b28944f7f13b405225541081a94001d5ab32f..b02a36778e501aebf39986596f09a27ea4b875d7 100644 (file)
@@ -72,6 +72,7 @@ public:
 
     T* toFirst() { return (T*)(impl.toFirst()); }
 
+    T *operator()() { T *ret = (T *)impl.current(); ++impl; return ret; }
     T *operator++() { return (T *)++impl; }
 
 private: