refactoring: add final class, remove redundant code, etc.

This commit is contained in:
Christopher Mosher
2013-12-15 12:49:18 -05:00
parent 55df84b305
commit 90145f3d37
19 changed files with 158 additions and 215 deletions

View File

@@ -44,8 +44,8 @@ Segment* SegmentCache::get(const std::string& id) const {
return this->cache.at(id).get();
}
setpSeg SegmentCache::all() const {
setpSeg s;
SegmentSet SegmentCache::all() const {
SegmentSet s;
for (auto i : this->cache) {
s.insert(i.second.get());
}