mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.
--HG-- extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
This commit is contained in:
parent
02f536a1b9
commit
0ec65cabbf
@ -159,7 +159,7 @@ class HashMap
|
||||
// typedef HashMap<int,char> HM;
|
||||
// HM h;
|
||||
// for (HM::Range r = h.all(); !r.empty(); r.popFront())
|
||||
// char c = r.front().value;
|
||||
// char c = r.front().value();
|
||||
//
|
||||
// Also see the definition of Range in HashTable above (with T = Entry).
|
||||
typedef typename Impl::Range Range;
|
||||
@ -171,7 +171,7 @@ class HashMap
|
||||
// typedef HashMap<int,char> HM;
|
||||
// HM s;
|
||||
// for (HM::Enum e(s); !e.empty(); e.popFront())
|
||||
// if (e.front().value == 'l')
|
||||
// if (e.front().value() == 'l')
|
||||
// e.removeFront();
|
||||
//
|
||||
// Table resize may occur in Enum's destructor. Also see the definition of
|
||||
|
Loading…
Reference in New Issue
Block a user