From de775e0d38485545801c23f23af9134d76980911 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 13 Mar 2008 17:04:06 +0000 Subject: Remove unneeded FIXME and fix some English. --- lib/Enum.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Enum.cc b/lib/Enum.cc index 9e5b725..2ede013 100644 --- a/lib/Enum.cc +++ b/lib/Enum.cc @@ -55,18 +55,18 @@ string EnumBase::i2sMapper::lookup (long i) const { long EnumBase::i2sMapper::lookup (const char *s) const { /* - * lookup a specific string. + * look up a specific string. * Since speed does not matter, we just do an exhaustive * search. * Otherwise we would have to maintain another map - * mapping strings to ints .. but its not worth the memory + * mapping strings to ints .. but it's not worth the memory */ i2s_map_t::const_iterator run = stringMap.begin(); while (run != stringMap.end() && strcmp(s, run->second)) { ++run; } if (run == stringMap.end()) - return -1; // FIXME .. maybe throw an exception ? + return -1; return run->first; } -- cgit v1.2.3