OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 iterator it = collection.begin().values(); | 519 iterator it = collection.begin().values(); |
520 iterator end = collection.end().values(); | 520 iterator end = collection.end().values(); |
521 for (unsigned i = 0; it != end; ++it, ++i) | 521 for (unsigned i = 0; it != end; ++it, ++i) |
522 vector[i] = *it; | 522 vector[i] = *it; |
523 } | 523 } |
524 | 524 |
525 } // namespace WTF | 525 } // namespace WTF |
526 | 526 |
527 using WTF::HashMap; | 527 using WTF::HashMap; |
528 | 528 |
529 #include "wtf/RefPtrHashMap.h" | |
530 | |
531 #endif /* WTF_HashMap_h */ | 529 #endif /* WTF_HashMap_h */ |
OLD | NEW |