mirror of
https://github.com/cmosher01/v6502cpp.git
synced 2026-01-23 20:15:58 +00:00
refactoring: add final class, remove redundant code, etc.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user