diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/WrDiskCache.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/WrDiskCache.h')
| -rw-r--r-- | src/WrDiskCache.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/WrDiskCache.h b/src/WrDiskCache.h index 08fee829..c70d1ccc 100644 --- a/src/WrDiskCache.h +++ b/src/WrDiskCache.h @@ -62,13 +62,10 @@ public: // Evicts entries from storage so that total size of cache is kept // under the limit. void ensureLimit(); - size_t getSize() const - { - return total_; - } + size_t getSize() const { return total_; } + private: - typedef std::set<WrDiskCacheEntry*, - DerefLess<WrDiskCacheEntry*> > EntrySet; + typedef std::set<WrDiskCacheEntry*, DerefLess<WrDiskCacheEntry*>> EntrySet; // Maximum number of bytes the storage can cache. size_t limit_; // Current number of bytes cached. @@ -80,4 +77,3 @@ private: } // namespace aria2 #endif // D_WR_DISK_CACHE_H - |
