diff options
author | Reuben Thomas <rrt@sc3d.org> | 2008-03-13 17:04:06 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2008-03-13 17:04:06 +0000 |
commit | de775e0d38485545801c23f23af9134d76980911 (patch) | |
tree | 286ddad2bab3d943f98c1b4815af7ec96295cc1c /lib | |
parent | f94bf4435e45076d24ce03b9ec8d75e3daf74445 (diff) | |
download | plptools-de775e0d38485545801c23f23af9134d76980911.tar.gz plptools-de775e0d38485545801c23f23af9134d76980911.tar.bz2 plptools-de775e0d38485545801c23f23af9134d76980911.zip |
Remove unneeded FIXME and fix some English.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Enum.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |