-
Committer:
Jay Pipes
-
Date:
2009-11-02 23:01:41 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1208.
-
Revision ID:
jpipes@serialcoder-20091102230141-uo72d13eymmt8efe
Cleans up a few things in CachedDirectory class:
a) Corrects doxygenated comments that were incorrectly updated
in a prior commit, including renaming the "exts" variable to
"allowable_exts" to make it more descriptive of what that
parameter expects.
b) Per Item 4 of Meyers' Effective STL, it is more efficient to
use STL containers' empty() method over the size() method, the
latter of which forces a recalculation of the container's size.
So, replaces usage of size() with correlating empty() call.
c) Remove unused honor_exts boolean.