Use C++11 range-based for loops where we can

This commit is contained in:
FeRD (Frank Dana)
2019-12-27 01:01:48 -05:00
parent dc217a9bdf
commit e49f62247e
10 changed files with 53 additions and 123 deletions

View File

@@ -39,7 +39,7 @@ CacheMemory::CacheMemory() : CacheBase(0) {
cache_type = "CacheMemory";
range_version = 0;
needs_range_processing = false;
};
}
// Constructor that sets the max bytes to cache
CacheMemory::CacheMemory(int64_t max_bytes) : CacheBase(max_bytes) {
@@ -47,7 +47,7 @@ CacheMemory::CacheMemory(int64_t max_bytes) : CacheBase(max_bytes) {
cache_type = "CacheMemory";
range_version = 0;
needs_range_processing = false;
};
}
// Default destructor
CacheMemory::~CacheMemory()