From 0ec65cabbfde03a30a71f213981b066de33d6f80 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 20 Jan 2014 19:52:52 -0800 Subject: [PATCH] Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke. --HG-- extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967 --- js/public/HashTable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/public/HashTable.h b/js/public/HashTable.h index b32207a40d9..49d970426a8 100644 --- a/js/public/HashTable.h +++ b/js/public/HashTable.h @@ -159,7 +159,7 @@ class HashMap // typedef HashMap 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 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