diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 17:03:18 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 17:03:18 +0100 |
commit | 9f770629606ca58c78b411e73696eec275c328a5 (patch) | |
tree | 021a18e45119f221290b42a96ff6ee8a24797066 /src/audiocacheidmanager.cc | |
parent | 83e33a14f672c2d1f9f333703867959921d40ffb (diff) |
Conform to style guide.
Diffstat (limited to 'src/audiocacheidmanager.cc')
-rw-r--r-- | src/audiocacheidmanager.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/audiocacheidmanager.cc b/src/audiocacheidmanager.cc index 87aaa41..a3e16a0 100644 --- a/src/audiocacheidmanager.cc +++ b/src/audiocacheidmanager.cc @@ -29,10 +29,6 @@ #include <limits> #include <assert.h> -AudioCacheIDManager::AudioCacheIDManager() -{ -} - AudioCacheIDManager::~AudioCacheIDManager() { assert(availableids.size() == id2cache.size()); // All ids should be released. @@ -114,15 +110,15 @@ void AudioCacheIDManager::disableActive() std::vector<cacheid_t> AudioCacheIDManager::getActiveIDs() { - std::vector<cacheid_t> activeIDs; + std::vector<cacheid_t> active_ids; for(auto& cache : id2cache) { if(cache.id != CACHE_NOID) { - activeIDs.push_back(cache.id); + active_ids.push_back(cache.id); } } - return activeIDs; + return active_ids; } |